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
0f8cab20
Commit
0f8cab20
authored
Aug 30, 2012
by
Stefan Krah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Closes #10650: Deprecate the watchexp parameter of Decimal.quantize().
parent
ab0c3c71
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
Doc/library/decimal.rst
Doc/library/decimal.rst
+5
-0
Doc/whatsnew/3.3.rst
Doc/whatsnew/3.3.rst
+4
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Doc/library/decimal.rst
View file @
0f8cab20
...
...
@@ -737,6 +737,11 @@ Decimal objects
resulting exponent is greater than :attr:`Emax` or less than
:attr:`Etiny`.
.. deprecated:: 3.3
*watchexp* is an implementation detail from the pure Python version
and is not present in the C version. It will be removed in version
3.4, where it defaults to ``True``.
.. method:: radix()
Return ``Decimal(10)``, the radix (base) in which the :class:`Decimal`
...
...
Doc/whatsnew/3.3.rst
View file @
0f8cab20
...
...
@@ -1190,6 +1190,10 @@ API changes
changed
to
match
the
order
displayed
by
:
func
:`
repr
`.
*
The
``
watchexp
``
parameter
in
the
:
meth
:`~
decimal
.
Decimal
.
quantize
`
method
is
deprecated
.
ftplib
------
...
...
Misc/NEWS
View file @
0f8cab20
...
...
@@ -51,6 +51,9 @@ Core and Builtins
Library
-------
- Issue #10650: Deprecate the watchexp parameter of the Decimal.quantize()
method.
- Issue #15785: Modify window.get_wch() API of the curses module: return
a character for most keys, and an integer for special keys, instead of
always returning an integer. So it is now possible to distinguish special
...
...
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