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
7a3786cc
Kaydet (Commit)
7a3786cc
authored
Ara 23, 2003
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
[Bug #857821] Remove mention of deprecated string.{atol,atof} functions. (Patch from Gerrit Holl)
üst
273069de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
libfuncs.tex
Doc/lib/libfuncs.tex
+2
-4
No files found.
Doc/lib/libfuncs.tex
Dosyayı görüntüle @
7a3786cc
...
@@ -427,8 +427,7 @@ class C:
...
@@ -427,8 +427,7 @@ class C:
\begin{funcdesc}
{
float
}{
\optional
{
x
}}
\begin{funcdesc}
{
float
}{
\optional
{
x
}}
Convert a string or a number to floating point. If the argument is a
Convert a string or a number to floating point. If the argument is a
string, it must contain a possibly signed decimal or floating point
string, it must contain a possibly signed decimal or floating point
number, possibly embedded in whitespace; this behaves identical to
number, possibly embedded in whitespace. Otherwise, the argument may be a plain
\code
{
string.atof(
\var
{
x
}
)
}
. Otherwise, the argument may be a plain
or long integer or a floating point number, and a floating point
or long integer or a floating point number, and a floating point
number with the same value (within Python's floating point
number with the same value (within Python's floating point
precision) is returned. If no argument is given, returns
\code
{
0.0
}
.
precision) is returned. If no argument is given, returns
\code
{
0.0
}
.
...
@@ -612,8 +611,7 @@ class C:
...
@@ -612,8 +611,7 @@ class C:
\begin{funcdesc}
{
long
}{
\optional
{
x
\optional
{
, radix
}}}
\begin{funcdesc}
{
long
}{
\optional
{
x
\optional
{
, radix
}}}
Convert a string or number to a long integer. If the argument is a
Convert a string or number to a long integer. If the argument is a
string, it must contain a possibly signed number of
string, it must contain a possibly signed number of
arbitrary size, possibly embedded in whitespace;
arbitrary size, possibly embedded in whitespace. The
this behaves identical to
\code
{
string.atol(
\var
{
x
}
)
}
. The
\var
{
radix
}
argument is interpreted in the same way as for
\var
{
radix
}
argument is interpreted in the same way as for
\function
{
int()
}
, and may only be given when
\var
{
x
}
is a string.
\function
{
int()
}
, and may only be given when
\var
{
x
}
is a string.
Otherwise, the argument may be a plain or
Otherwise, the argument may be a plain or
...
...
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