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
6b35370c
Kaydet (Commit)
6b35370c
authored
Nis 09, 2002
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update docs for bool changes by Guido around April 6
üst
803a8ea4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
16 deletions
+16
-16
libchunk.tex
Doc/lib/libchunk.tex
+1
-1
libimp.tex
Doc/lib/libimp.tex
+4
-4
librfc822.tex
Doc/lib/librfc822.tex
+2
-2
libstdtypes.tex
Doc/lib/libstdtypes.tex
+3
-3
libthread.tex
Doc/lib/libthread.tex
+4
-4
libzipfile.tex
Doc/lib/libzipfile.tex
+2
-2
No files found.
Doc/lib/libchunk.tex
Dosyayı görüntüle @
6b35370c
...
...
@@ -78,7 +78,7 @@ The remaining methods will raise \exception{IOError} if called after
the
\method
{
close()
}
method has been called.
\begin{methoddesc}
{
isatty
}{}
Returns
\code
{
0
}
.
Returns
\code
{
False
}
.
\end{methoddesc}
\begin{methoddesc}
{
seek
}{
pos
\optional
{
, whence
}}
...
...
Doc/lib/libimp.tex
Dosyayı görüntüle @
6b35370c
...
...
@@ -94,8 +94,8 @@ Return a new empty module object called \var{name}. This object is
\end{funcdesc}
\begin{funcdesc}
{
lock
_
held
}{}
Return
1 if the import lock is currently held, else 0
.
On platforms without threads, always return
0
.
Return
\code
{
True
}
if the import lock is currently held, else
\code
{
False
}
.
On platforms without threads, always return
\code
{
False
}
.
On platforms with threads, a thread executing an import holds an internal
lock until the import is complete.
...
...
@@ -174,8 +174,8 @@ module called \var{name}.
\end{funcdesc}
\begin{funcdesc}
{
is
_
frozen
}{
name
}
Return
\code
{
1
}
if there is a frozen module (see
\function
{
init
_
frozen()
}
) called
\var
{
name
}
, or
\code
{
0
}
if there is
Return
\code
{
True
}
if there is a frozen module (see
\function
{
init
_
frozen()
}
) called
\var
{
name
}
, or
\code
{
False
}
if there is
no such module.
\end{funcdesc}
...
...
Doc/lib/librfc822.tex
Dosyayı görüntüle @
6b35370c
...
...
@@ -156,8 +156,8 @@ checks that the line is blank, but you can override it in a subclass.
\end{methoddesc}
\begin{methoddesc}
{
iscomment
}{
line
}
Return
true
if the given line should be ignored entirely, just skipped.
By default this is a stub that always returns
false
, but you can
Return
\code
{
True
}
if the given line should be ignored entirely, just skipped.
By default this is a stub that always returns
\code
{
False
}
, but you can
override it in a subclass.
\end{methoddesc}
...
...
Doc/lib/libstdtypes.tex
Dosyayı görüntüle @
6b35370c
...
...
@@ -1072,8 +1072,8 @@ Files have the following methods:
\end{methoddesc}
\begin{methoddesc}
[file]
{
isatty
}{}
Return
true
if the file is connected to a tty(-like) device, else
false
.
\note
{
If a file-like object is not associated
Return
\code
{
True
}
if the file is connected to a tty(-like) device, else
\code
{
False
}
.
\note
{
If a file-like object is not associated
with a real file, this method should
\emph
{
not
}
be implemented.
}
\end{methoddesc}
...
...
@@ -1193,7 +1193,7 @@ These are not required for file-like objects, but should be
implemented if they make sense for the particular object.
\begin{memberdesc}
[file]
{
closed
}
Boolean
indicating the current state of the file object. This is a
bool
indicating the current state of the file object. This is a
read-only attribute; the
\method
{
close()
}
method changes the value.
It may not be available on all file-like objects.
\end{memberdesc}
...
...
Doc/lib/libthread.tex
Dosyayı görüntüle @
6b35370c
...
...
@@ -82,8 +82,8 @@ reason for existence), and returns \code{None}. If the integer
value: if it is zero, the lock is only acquired if it can be acquired
immediately without waiting, while if it is nonzero, the lock is
acquired unconditionally as before. If an argument is present, the
return value is
\code
{
1
}
if the lock is acquired successfully,
\code
{
0
}
if not.
return value is
\code
{
True
}
if the lock is acquired successfully,
\code
{
False
}
if not.
\end{methoddesc}
\begin{methoddesc}
[lock]
{
release
}{}
...
...
@@ -92,8 +92,8 @@ necessarily by the same thread.
\end{methoddesc}
\begin{methoddesc}
[lock]
{
locked
}{}
Return the status of the lock:
\ \code
{
1
}
if it has been acquired by
some thread,
\code
{
0
}
if not.
Return the status of the lock:
\ \code
{
True
}
if it has been acquired by
some thread,
\code
{
False
}
if not.
\end{methoddesc}
\strong
{
Caveats:
}
...
...
Doc/lib/libzipfile.tex
Dosyayı görüntüle @
6b35370c
...
...
@@ -48,8 +48,8 @@ The available attributes of this module are:
\end{classdesc}
\begin{funcdesc}
{
is
_
zipfile
}{
filename
}
Returns
true
if
\var
{
filename
}
is a valid ZIP file based on its magic
number, otherwise returns
false
. This module does not currently
Returns
\code
{
True
}
if
\var
{
filename
}
is a valid ZIP file based on its magic
number, otherwise returns
\code
{
False
}
. This module does not currently
handle ZIP files which have appended comments.
\end{funcdesc}
...
...
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