File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -677,13 +677,13 @@ Changes in the Python API
677
677
contain ASCII letters and digits and underscore.
678
678
(Contributed by Serhiy Storchaka in :gh: `91760 `.)
679
679
680
- * Removed randrange() functionality deprecated since Python 3.10. Formerly,
681
- randrange(10.0) losslessly converted to randrange(10). Now, it raises a
682
- TypeError. Also, the exception raised for non-integral values such as
683
- randrange(10.5) or randrange('10') has been changed from ValueError to
684
- TypeError. This also prevents bugs where ``randrange(1e25) `` would silently
680
+ * Removed `` randrange() `` functionality deprecated since Python 3.10. Formerly,
681
+ `` randrange(10.0) `` losslessly converted to `` randrange(10) `` . Now, it raises a
682
+ :exc: ` TypeError ` . Also, the exception raised for non-integral values such as
683
+ `` randrange(10.5) `` or `` randrange('10') `` has been changed from :exc: ` ValueError ` to
684
+ :exc: ` TypeError ` . This also prevents bugs where ``randrange(1e25) `` would silently
685
685
select from a larger range than ``randrange(10**25) ``.
686
- (Originally suggested by Serhiy Storchaka gh- 86388.)
686
+ (Originally suggested by Serhiy Storchaka :gh: ` 86388 ` .)
687
687
688
688
* :class: `argparse.ArgumentParser ` changed encoding and error handler
689
689
for reading arguments from file (e.g. ``fromfile_prefix_chars `` option)
You can’t perform that action at this time.
0 commit comments