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

Skip to content

Commit 862fe3c

Browse files
committed
Add news about deprecated complex ops.
1 parent 6c65531 commit 862fe3c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Misc/NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Type/class unification and new-style classes
66

77
Core and builtins
88

9+
- Complex numbers supported divmod() and the // and % operators, but
10+
these make no sense. Since this was documented, they're being
11+
deprecated now.
12+
913
- String methods lstrip(), rstrip() and strip() now take an optional
1014
argument that specifies the characters to strip. For example,
1115
"Foo!!!?!?!?".rstrip("?!") -> "Foo".

0 commit comments

Comments
 (0)