Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7804e8c7
Commit
7804e8c7
authored
Dec 24, 2018
by
Andre Delfino
Committed by
Raymond Hettinger
Dec 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak wording about Fraction and Decimal (GH-10904)
parent
63d15223
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/library/stdtypes.rst
Doc/library/stdtypes.rst
+2
-2
No files found.
Doc/library/stdtypes.rst
View file @
7804e8c7
...
@@ -220,8 +220,8 @@ numbers for the machine on which your program is running is available
...
@@ -220,8 +220,8 @@ numbers for the machine on which your program is running is available
in :data:`sys.float_info`. Complex numbers have a real and imaginary
in :data:`sys.float_info`. Complex numbers have a real and imaginary
part, which are each a floating point number. To extract these parts
part, which are each a floating point number. To extract these parts
from a complex number *z*, use ``z.real`` and ``z.imag``. (The standard
from a complex number *z*, use ``z.real`` and ``z.imag``. (The standard
library includes
additional numeric types, :mod:`fractions` that hold
library includes
the additional numeric types :mod:`fractions.Fraction`, for
rationals, and :mod:`decimal
` that hold
floating-point numbers with
rationals, and :mod:`decimal
.Decimal`, for
floating-point numbers with
user-definable precision.)
user-definable precision.)
.. index::
.. index::
...
...
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