mirror of
https://github.com/python/cpython.git
synced 2025-09-28 03:13:48 +00:00
Fix docutils parsing errors in Misc/NEWS.
This commit is contained in:
parent
cc163bb5db
commit
eae122be62
1 changed files with 10 additions and 9 deletions
11
Misc/NEWS
11
Misc/NEWS
|
@ -1120,7 +1120,7 @@ Core and Builtins
|
||||||
|
|
||||||
- intobject.h is no longer included by Python.h. The remains were
|
- intobject.h is no longer included by Python.h. The remains were
|
||||||
moved to longobject.h. It still exists to define several aliases
|
moved to longobject.h. It still exists to define several aliases
|
||||||
from PyInt_ to PyLong_ functions.
|
from PyInt to PyLong functions.
|
||||||
|
|
||||||
- Removed sys.maxint, use sys.maxsize instead.
|
- Removed sys.maxint, use sys.maxsize instead.
|
||||||
|
|
||||||
|
@ -1146,7 +1146,7 @@ Library
|
||||||
|
|
||||||
|
|
||||||
What's New in Python 3.0a1?
|
What's New in Python 3.0a1?
|
||||||
==========================
|
===========================
|
||||||
|
|
||||||
*Release date: 31-Aug-2007*
|
*Release date: 31-Aug-2007*
|
||||||
|
|
||||||
|
@ -1269,13 +1269,14 @@ Core and Builtins
|
||||||
|
|
||||||
- Integer division always returns a float. The -Q option is no more.
|
- Integer division always returns a float. The -Q option is no more.
|
||||||
All the following are gone:
|
All the following are gone:
|
||||||
|
|
||||||
* PyNumber_Divide and PyNumber_InPlaceDivide
|
* PyNumber_Divide and PyNumber_InPlaceDivide
|
||||||
* __div__, __rdiv__, and __idiv__
|
* __div__, __rdiv__, and __idiv__
|
||||||
* nb_divide, nb_inplace_divide
|
* nb_divide, nb_inplace_divide
|
||||||
* operator.div, operator.idiv, operator.__div__, operator.__idiv__
|
* operator.div, operator.idiv, operator.__div__, operator.__idiv__
|
||||||
(Only __truediv__ and __floordiv__ remain, not sure how to handle them
|
(Only __truediv__ and __floordiv__ remain, not sure how to handle
|
||||||
if we want to re-use __div__ and friends. If we do, it will make
|
them if we want to re-use __div__ and friends. If we do, it will
|
||||||
it harder to write code for both 2.x and 3.x.)
|
make it harder to write code for both 2.x and 3.x.)
|
||||||
|
|
||||||
- 'as' and 'with' are keywords.
|
- 'as' and 'with' are keywords.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue