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
4cacec53
Kaydet (Commit)
4cacec53
authored
Nis 21, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix a number of minor markup errors.
üst
056a71da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
libcurses.tex
Doc/lib/libcurses.tex
+2
-2
librandom.tex
Doc/lib/librandom.tex
+3
-3
libstdtypes.tex
Doc/lib/libstdtypes.tex
+2
-2
No files found.
Doc/lib/libcurses.tex
Dosyayı görüntüle @
4cacec53
...
@@ -510,8 +510,8 @@ file descriptor for typeahead checking.
...
@@ -510,8 +510,8 @@ file descriptor for typeahead checking.
\begin{funcdesc}
{
unctrl
}{
ch
}
\begin{funcdesc}
{
unctrl
}{
ch
}
Returns a string which is a printable representation of the character
Returns a string which is a printable representation of the character
\var
{
ch
}
. Control characters are displayed as a caret followed by the
\var
{
ch
}
. Control characters are displayed as a caret followed by the
character, for example as
\
verb
|
^C
|
. Printing characters are left as they
character, for example as
\
code
{
\textasciicircum
C
}
. Printing
are.
characters are left as they
are.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
ungetch
}{
ch
}
\begin{funcdesc}
{
ungetch
}{
ch
}
...
...
Doc/lib/librandom.tex
Dosyayı görüntüle @
4cacec53
...
@@ -98,10 +98,10 @@ Bookkeeping functions:
...
@@ -98,10 +98,10 @@ Bookkeeping functions:
\begin{funcdesc}
{
seed
}{
\optional
{
x
}}
\begin{funcdesc}
{
seed
}{
\optional
{
x
}}
Initialize the basic random number generator.
Initialize the basic random number generator.
Optional argument
\var
{
x
}
can be any hashable object.
Optional argument
\var
{
x
}
can be any hashable object.
If
\var
(x)
is omitted or
\code
{
None
}
, current system time is used;
If
\var
{
x
}
is omitted or
\code
{
None
}
, current system time is used;
current system time is also used to initialize the generator when the
current system time is also used to initialize the generator when the
module is first imported.
module is first imported.
If
\var
(x)
is not
\code
{
None
}
or an int or long,
If
\var
{
x
}
is not
\code
{
None
}
or an int or long,
\code
{
hash(
\var
{
x
}
)
}
is used instead.
\code
{
hash(
\var
{
x
}
)
}
is used instead.
If
\var
{
x
}
is an int or long,
\var
{
x
}
is used directly.
If
\var
{
x
}
is an int or long,
\var
{
x
}
is used directly.
Distinct values between 0 and 27814431486575L inclusive are guaranteed
Distinct values between 0 and 27814431486575L inclusive are guaranteed
...
@@ -137,7 +137,7 @@ Bookkeeping functions:
...
@@ -137,7 +137,7 @@ Bookkeeping functions:
Change the internal state to what it would be if
\function
{
random()
}
Change the internal state to what it would be if
\function
{
random()
}
were called
\var
{
n
}
times, but do so quickly.
\var
{
n
}
is a
were called
\var
{
n
}
times, but do so quickly.
\var
{
n
}
is a
non-negative integer. This is most useful in multi-threaded
non-negative integer. This is most useful in multi-threaded
programs, in conjuction with multiple instances of the
\
var
{
Random
}
programs, in conjuction with multiple instances of the
\
class
{
Random
}
class:
\method
{
setstate()
}
or
\method
{
seed()
}
can be used to force
class:
\method
{
setstate()
}
or
\method
{
seed()
}
can be used to force
all instances into the same internal state, and then
all instances into the same internal state, and then
\method
{
jumpahead()
}
can be used to force the instances' states as
\method
{
jumpahead()
}
can be used to force the instances' states as
...
...
Doc/lib/libstdtypes.tex
Dosyayı görüntüle @
4cacec53
...
@@ -885,11 +885,11 @@ arbitrary objects):
...
@@ -885,11 +885,11 @@ arbitrary objects):
{
(3)
}
{
(3)
}
\lineiii
{
\var
{
a
}
.values()
}{
a copy of
\var
{
a
}
's list of values
}{
(2)
}
\lineiii
{
\var
{
a
}
.values()
}{
a copy of
\var
{
a
}
's list of values
}{
(2)
}
\lineiii
{
\var
{
a
}
.get(
\var
{
k
}
\optional
{
,
\var
{
x
}}
)
}
\lineiii
{
\var
{
a
}
.get(
\var
{
k
}
\optional
{
,
\var
{
x
}}
)
}
{
\code
{
\var
{
a
}
[
\var
{
k
}
]
}
if
\code
{
\var
{
k
}
in
\var
{
a
}}
}
,
{
\code
{
\var
{
a
}
[
\var
{
k
}
]
}
if
\code
{
\var
{
k
}
in
\var
{
a
}}
,
else
\var
{
x
}}
else
\var
{
x
}}
{
(4)
}
{
(4)
}
\lineiii
{
\var
{
a
}
.setdefault(
\var
{
k
}
\optional
{
,
\var
{
x
}}
)
}
\lineiii
{
\var
{
a
}
.setdefault(
\var
{
k
}
\optional
{
,
\var
{
x
}}
)
}
{
\code
{
\var
{
a
}
[
\var
{
k
}
]
}
if
\code
{
\var
{
k
}
in
\var
{
a
}}
}
,
{
\code
{
\var
{
a
}
[
\var
{
k
}
]
}
if
\code
{
\var
{
k
}
in
\var
{
a
}}
,
else
\var
{
x
}
(also setting it)
}
else
\var
{
x
}
(also setting it)
}
{
(5)
}
{
(5)
}
\lineiii
{
\var
{
a
}
.popitem()
}
\lineiii
{
\var
{
a
}
.popitem()
}
...
...
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