diff options
Diffstat (limited to 'Misc/NEWS.d/next/Library/2020-10-31-10-28-32.bpo-42222.Cfl1eR.rst')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-10-31-10-28-32.bpo-42222.Cfl1eR.rst | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-10-31-10-28-32.bpo-42222.Cfl1eR.rst b/Misc/NEWS.d/next/Library/2020-10-31-10-28-32.bpo-42222.Cfl1eR.rst deleted file mode 100644 index 2f570bb..0000000 --- a/Misc/NEWS.d/next/Library/2020-10-31-10-28-32.bpo-42222.Cfl1eR.rst +++ /dev/null @@ -1,9 +0,0 @@ -Harmonized random.randrange() argument handling to match range(). - -* The integer test and conversion in randrange() now uses - operator.index(). -* Non-integer arguments to randrange() are deprecated. -* The *ValueError* is deprecated in favor of a *TypeError*. -* It now runs a little faster than before. - -(Contributed by Raymond Hettinger and Serhiy Storchaka.) |