Commit 47583fa9 authored by Benjamin Peterson's avatar Benjamin Peterson

merge 3.2

parents d23820b7 cee01bf1
...@@ -354,8 +354,8 @@ Notes: ...@@ -354,8 +354,8 @@ Notes:
for a complete list of code points with the ``Nd`` property. for a complete list of code points with the ``Nd`` property.
All :class:`numbers.Real` types (:class:`int` and All :class:`numbers.Real` types (:class:`int` and :class:`float`) also include
:class:`float`) also include the following operations: the following operations:
+--------------------+------------------------------------+--------+ +--------------------+------------------------------------+--------+
| Operation | Result | Notes | | Operation | Result | Notes |
...@@ -439,6 +439,9 @@ Notes: ...@@ -439,6 +439,9 @@ Notes:
Additional Methods on Integer Types Additional Methods on Integer Types
----------------------------------- -----------------------------------
The int type implements the :class:`numbers.Integral` :term:`abstact base
class`. In addition, it provides one more method
.. method:: int.bit_length() .. method:: int.bit_length()
Return the number of bits necessary to represent an integer in binary, Return the number of bits necessary to represent an integer in binary,
...@@ -532,7 +535,8 @@ Additional Methods on Integer Types ...@@ -532,7 +535,8 @@ Additional Methods on Integer Types
Additional Methods on Float Additional Methods on Float
--------------------------- ---------------------------
The float type has some additional methods. The float type implements the :class:`numbers.Real` :term:`abstract base
class`. float also has the following additional methods.
.. method:: float.as_integer_ratio() .. method:: float.as_integer_ratio()
......
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