Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eae122b

Browse files
committed
Fix docutils parsing errors in Misc/NEWS.
1 parent cc163bb commit eae122b

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

Misc/NEWS

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ Core and Builtins
11201120

11211121
- intobject.h is no longer included by Python.h. The remains were
11221122
moved to longobject.h. It still exists to define several aliases
1123-
from PyInt_ to PyLong_ functions.
1123+
from PyInt to PyLong functions.
11241124

11251125
- Removed sys.maxint, use sys.maxsize instead.
11261126

@@ -1146,7 +1146,7 @@ Library
11461146

11471147

11481148
What's New in Python 3.0a1?
1149-
==========================
1149+
===========================
11501150

11511151
*Release date: 31-Aug-2007*
11521152

@@ -1269,13 +1269,14 @@ Core and Builtins
12691269

12701270
- Integer division always returns a float. The -Q option is no more.
12711271
All the following are gone:
1272-
* PyNumber_Divide and PyNumber_InPlaceDivide
1273-
* __div__, __rdiv__, and __idiv__
1274-
* nb_divide, nb_inplace_divide
1275-
* operator.div, operator.idiv, operator.__div__, operator.__idiv__
1276-
(Only __truediv__ and __floordiv__ remain, not sure how to handle them
1277-
if we want to re-use __div__ and friends. If we do, it will make
1278-
it harder to write code for both 2.x and 3.x.)
1272+
1273+
* PyNumber_Divide and PyNumber_InPlaceDivide
1274+
* __div__, __rdiv__, and __idiv__
1275+
* nb_divide, nb_inplace_divide
1276+
* operator.div, operator.idiv, operator.__div__, operator.__idiv__
1277+
(Only __truediv__ and __floordiv__ remain, not sure how to handle
1278+
them if we want to re-use __div__ and friends. If we do, it will
1279+
make it harder to write code for both 2.x and 3.x.)
12791280

12801281
- 'as' and 'with' are keywords.
12811282

0 commit comments

Comments
 (0)