From: Anthony Baxter Date: Thu, 18 Apr 2002 05:38:53 +0000 (+0000) Subject: backport gvanrossum's patch: X-Git-Tag: v2.2.2b1~422 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ee571fa06cdca07afa1ef8ba4fda09f749635b4d;p=thirdparty%2FPython%2Fcpython.git backport gvanrossum's patch: Add news about deprecated complex ops. Original patches were: python/dist/src/Misc/NEWS:1.387 --- diff --git a/Misc/NEWS b/Misc/NEWS index 135c9f245f46..0507950048c0 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -8,6 +8,10 @@ Core and builtins great many cyclic structures involving frames. Reported on SourceForge as bug 543148. +- 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". In addition, "200L".strip("L")