mirror of
https://github.com/python/cpython.git
synced 2025-09-28 03:13:48 +00:00
Fix 'the the'; grammar fix (backport of r71102
This commit is contained in:
parent
c41cf8c0ee
commit
ab52252ba9
1 changed files with 2 additions and 2 deletions
|
@ -292,8 +292,8 @@ Number Protocol
|
||||||
|
|
||||||
.. cfunction:: PyObject* PyNumber_ToBase(PyObject *n, int base)
|
.. cfunction:: PyObject* PyNumber_ToBase(PyObject *n, int base)
|
||||||
|
|
||||||
Returns the the integer *n* converted to *base* as a string with a base
|
Returns the integer *n* converted to *base* as a string with a base
|
||||||
marker of ``'0b'``, ``'0o'``, or ``'0x'`` if appended applicable. When
|
marker of ``'0b'``, ``'0o'``, or ``'0x'`` if applicable. When
|
||||||
*base* is not 2, 8, 10, or 16, the format is ``'x#num'`` where x is the
|
*base* is not 2, 8, 10, or 16, the format is ``'x#num'`` where x is the
|
||||||
base. If *n* is not an int object, it is converted with
|
base. If *n* is not an int object, it is converted with
|
||||||
:cfunc:`PyNumber_Index` first.
|
:cfunc:`PyNumber_Index` first.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue