mirror of
https://github.com/python/cpython.git
synced 2026-03-06 21:10:55 +00:00
Add news about deprecated complex ops.
This commit is contained in:
parent
6c65531511
commit
862fe3c52e
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,10 @@ Type/class unification and new-style classes
|
|||
|
||||
Core and builtins
|
||||
|
||||
- Complex numbers supported divmod() and the // and % operators, but
|
||||
these make no sense. Since this was documented, they're being
|
||||
deprecated now.
|
||||
|
||||
- String methods lstrip(), rstrip() and strip() now take an optional
|
||||
argument that specifies the characters to strip. For example,
|
||||
"Foo!!!?!?!?".rstrip("?!") -> "Foo".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue