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
1c027e56
Kaydet (Commit)
1c027e56
authored
Eki 11, 2011
tarafından
Mark Dickinson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge issue #13145 fix.
üst
dc567e42
f1ab47eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
number.rst
Doc/c-api/number.rst
+4
-4
No files found.
Doc/c-api/number.rst
Dosyayı görüntüle @
1c027e56
...
@@ -239,10 +239,10 @@ Number Protocol
...
@@ -239,10 +239,10 @@ Number Protocol
.. c:function:: PyObject* PyNumber_ToBase(PyObject *n, int base)
.. c:function:: PyObject* PyNumber_ToBase(PyObject *n, int base)
Returns the integer *n* converted to
*base* as a string with a base
Returns the integer *n* converted to
base *base* as a string. The *base*
marker of ``'0b'``, ``'0o'``, or ``'0x'`` if applicable. When
argument must be one of 2, 8, 10, or 16. For base 2, 8, or 16, the
*base* is not 2, 8, 10, or 16, the format is ``'x#num'`` where x is the
returned string is prefixed with a base marker of ``'0b'``, ``'0o'``, or
base. If *n* is not an int objec
t, it is converted with
``'0x'``, respectively. If *n* is not a Python in
t, it is converted with
:c:func:`PyNumber_Index` first.
:c:func:`PyNumber_Index` first.
...
...
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