Kaydet (Commit) 3fe89dac authored tarafından Louis Sautier's avatar Louis Sautier Kaydeden (comit) Xiang Zhang

bpo-34434: Update doc for bool(), float() and int() arguments (GH-8834)

üst 7d81e8f5
...@@ -113,6 +113,8 @@ are always available. They are listed here in alphabetical order. ...@@ -113,6 +113,8 @@ are always available. They are listed here in alphabetical order.
.. index:: pair: Boolean; type .. index:: pair: Boolean; type
.. versionchanged:: 3.7
*x* is now a positional-only parameter.
.. function:: breakpoint(*args, **kws) .. function:: breakpoint(*args, **kws)
...@@ -578,6 +580,9 @@ are always available. They are listed here in alphabetical order. ...@@ -578,6 +580,9 @@ are always available. They are listed here in alphabetical order.
.. versionchanged:: 3.6 .. versionchanged:: 3.6
Grouping digits with underscores as in code literals is allowed. Grouping digits with underscores as in code literals is allowed.
.. versionchanged:: 3.7
*x* is now a positional-only parameter.
.. index:: .. index::
single: __format__ single: __format__
...@@ -729,7 +734,7 @@ are always available. They are listed here in alphabetical order. ...@@ -729,7 +734,7 @@ are always available. They are listed here in alphabetical order.
to provide elaborate line editing and history features. to provide elaborate line editing and history features.
.. class:: int(x=0) .. class:: int([x])
int(x, base=10) int(x, base=10)
Return an integer object constructed from a number or string *x*, or return Return an integer object constructed from a number or string *x*, or return
...@@ -763,6 +768,9 @@ are always available. They are listed here in alphabetical order. ...@@ -763,6 +768,9 @@ are always available. They are listed here in alphabetical order.
.. versionchanged:: 3.6 .. versionchanged:: 3.6
Grouping digits with underscores as in code literals is allowed. Grouping digits with underscores as in code literals is allowed.
.. versionchanged:: 3.7
*x* is now a positional-only parameter.
.. function:: isinstance(object, classinfo) .. function:: isinstance(object, classinfo)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment