Add news about deprecated complex ops.

This commit is contained in:
Guido van Rossum 2002-04-15 12:36:47 +00:00
parent 6c65531511
commit 862fe3c52e

View file

@ -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".