Skip to content

Commit 11db7f8

Browse files
bpo-26680: NEWS entries for int, the numeric ABCs and Decimal.
1 parent a9e364d commit 11db7f8

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The int type now supports the x.is_integer() method for compatibility with
2+
float.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The x.is_integer() method is incorporated into the abstract types of the
2+
numeric tower, Real, Rational and Integral, with appropriate default
3+
implementations.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The d.is_integer() method is added to the Decimal type, for compatibility
2+
with other number types.

0 commit comments

Comments
 (0)