Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
781aef2d
Kaydet (Commit)
781aef2d
authored
Nis 10, 2007
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Repair a duplicate label and some obsolete uses of \setindexsubitem.
üst
59c5884b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
42 deletions
+39
-42
libamoeba.tex
Doc/lib/libamoeba.tex
+14
-15
libfm.tex
Doc/lib/libfm.tex
+12
-13
libposixfile.tex
Doc/lib/libposixfile.tex
+10
-11
libsun.tex
Doc/lib/libsun.tex
+2
-0
libunittest.tex
Doc/lib/libunittest.tex
+1
-1
libframework.tex
Doc/mac/libframework.tex
+0
-2
No files found.
Doc/lib/libamoeba.tex
Dosyayı görüntüle @
781aef2d
...
...
@@ -89,25 +89,24 @@ aa:1c:95:52:6a:fa/14(ff)/8e:ba:5b:8:11:1a
%
The following methods are defined for capability objects.
\setindexsubitem
{
(capability method)
}
\begin{funcdesc}
{
dir
_
list
}{}
\begin{methoddesc}
[capability]
{
dir
_
list
}{}
Returns a list of the names of the entries in an Amoeba directory.
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
b
_
read
}{
offset, maxsize
}
\begin{
methoddesc}
[capability]
{
b
_
read
}{
offset, maxsize
}
Reads (at most)
\var
{
maxsize
}
bytes from a bullet file at offset
\var
{
offset.
}
The data is returned as a string.
EOF is reported as an empty string.
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
b
_
size
}{}
\begin{
methoddesc}
[capability]
{
b
_
size
}{}
Returns the size of a bullet file.
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
dir
_
append
}{}
\begin{
methoddesc}
[capability]
{
dir
_
append
}{}
\funcline
{
dir
_
delete
}{}
\funcline
{
dir
_
lookup
}{}
\funcline
{
dir
_
replace
}{}
...
...
@@ -116,17 +115,17 @@ Like the corresponding
functions, but with a path relative to the capability.
(For paths beginning with a slash the capability is ignored, since this
is the defined semantics for Amoeba.)
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
std
_
info
}{}
\begin{
methoddesc}
[capability]
{
std
_
info
}{}
Returns the standard info string of the object.
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
tod
_
gettime
}{}
\begin{
methoddesc}
[capability]
{
tod
_
gettime
}{}
Returns the time (in seconds since the Epoch, in UCT, as for
\POSIX
) from
a time server.
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
tod
_
settime
}{
t
}
\begin{
methoddesc}
[capability]
{
tod
_
settime
}{
t
}
Sets the time kept by a time server.
\end{
func
desc}
\end{
method
desc}
Doc/lib/libfm.tex
Dosyayı görüntüle @
781aef2d
...
...
@@ -55,40 +55,39 @@ Returns the current font search path.
Font handle objects support the following operations:
\setindexsubitem
{
(font handle method)
}
\begin{funcdesc}
{
scalefont
}{
factor
}
\begin{methoddesc}
[font handle]
{
scalefont
}{
factor
}
Returns a handle for a scaled version of this font.
Calls
\code
{
fmscalefont(
\var
{
fh
}
,
\var
{
factor
}
)
}
.
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
setfont
}{}
\begin{
methoddesc}
[font handle]
{
setfont
}{}
Makes this font the current font.
Note: the effect is undone silently when the font handle object is
deleted.
Calls
\code
{
fmsetfont(
\var
{
fh
}
)
}
.
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
getfontname
}{}
\begin{
methoddesc}
[font handle]
{
getfontname
}{}
Returns this font's name.
Calls
\code
{
fmgetfontname(
\var
{
fh
}
)
}
.
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
getcomment
}{}
\begin{
methoddesc}
[font handle]
{
getcomment
}{}
Returns the comment string associated with this font.
Raises an exception if there is none.
Calls
\code
{
fmgetcomment(
\var
{
fh
}
)
}
.
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
getfontinfo
}{}
\begin{
methoddesc}
[font handle]
{
getfontinfo
}{}
Returns a tuple giving some pertinent data about this font.
This is an interface to
\code
{
fmgetfontinfo()
}
.
The returned tuple contains the following numbers:
\code
{
(
}
\var
{
printermatched
}
,
\var
{
fixed
_
width
}
,
\var
{
xorig
}
,
\var
{
yorig
}
,
\var
{
xsize
}
,
\var
{
ysize
}
,
\var
{
height
}
,
\var
{
nglyphs
}
\code
{
)
}
.
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
getstrwidth
}{
string
}
\begin{
methoddesc}
[font handle]
{
getstrwidth
}{
string
}
Returns the width, in pixels, of
\var
{
string
}
when drawn in this font.
Calls
\code
{
fmgetstrwidth(
\var
{
fh
}
,
\var
{
string
}
)
}
.
\end{
func
desc}
\end{
method
desc}
Doc/lib/libposixfile.tex
Dosyayı görüntüle @
781aef2d
...
...
@@ -62,8 +62,7 @@ The \module{posixfile} module defines the following functions:
The posixfile object defines the following additional methods:
\setindexsubitem
{
(posixfile method)
}
\begin{funcdesc}
{
lock
}{
fmt,
\optional
{
len
\optional
{
, start
\optional
{
, whence
}}}}
\begin{methoddesc}
[posixfile]
{
lock
}{
fmt,
\optional
{
len
\optional
{
, start
\optional
{
, whence
}}}}
Lock the specified section of the file that the file object is
referring to. The format is explained
below in a table. The
\var
{
len
}
argument specifies the length of the
...
...
@@ -74,9 +73,9 @@ The posixfile object defines the following additional methods:
\constant
{
SEEK
_
CUR
}
or
\constant
{
SEEK
_
END
}
. The default is
\constant
{
SEEK
_
SET
}
. For more information about the arguments refer
to the
\manpage
{
fcntl
}{
2
}
manual page on your system.
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
flags
}{
\optional
{
flags
}}
\begin{
methoddesc}
[posixfile]
{
flags
}{
\optional
{
flags
}}
Set the specified flags for the file that the file object is referring
to. The new flags are ORed with the old flags, unless specified
otherwise. The format is explained below in a table. Without
...
...
@@ -84,25 +83,25 @@ The posixfile object defines the following additional methods:
a string indicating the current flags is returned (this is
the same as the
\samp
{
?
}
modifier). For more information about the
flags refer to the
\manpage
{
fcntl
}{
2
}
manual page on your system.
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
dup
}{}
\begin{
methoddesc}
[posixfile]
{
dup
}{}
Duplicate the file object and the underlying file pointer and file
descriptor. The resulting object behaves as if it were newly
opened.
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
dup2
}{
fd
}
\begin{
methoddesc}
[posixfile]
{
dup2
}{
fd
}
Duplicate the file object and the underlying file pointer and file
descriptor. The new object will have the given file descriptor.
Otherwise the resulting object behaves as if it were newly opened.
\end{
func
desc}
\end{
method
desc}
\begin{
funcdesc}
{
file
}{}
\begin{
methoddesc}
[posixfile]
{
file
}{}
Return the standard file object that the posixfile object is based
on. This is sometimes necessary for functions that insist on a
standard file object.
\end{
func
desc}
\end{
method
desc}
All methods raise
\exception
{
IOError
}
when the request fails.
...
...
Doc/lib/libsun.tex
Dosyayı görüntüle @
781aef2d
...
...
@@ -3,3 +3,5 @@
The modules described in this chapter provide interfaces to features
that are unique to SunOS 5 (also known as Solaris version 2).
\localmoduletable
Doc/lib/libunittest.tex
Dosyayı görüntüle @
781aef2d
...
...
@@ -91,7 +91,7 @@ specific class.
\end{seealso}
\subsection
{
Basic example
\label
{
minimal-example
}}
\subsection
{
Basic example
\label
{
unittest-
minimal-example
}}
The
\module
{
unittest
}
module provides a rich set of tools for
constructing and running tests. This section demonstrates that a
...
...
Doc/mac/libframework.tex
Dosyayı görüntüle @
781aef2d
...
...
@@ -189,8 +189,6 @@ null-event is passed (so you can look at mouse position, etc).
Window objects have the following methods, among others:
\setindexsubitem
{
(Window method)
}
\begin{methoddesc}
[Window]
{
open
}{}
Override this method to open a window. Store the MacOS window-id in
\member
{
self.wid
}
and call the
\method
{
do
_
postopen()
}
method to
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment