Skip to content

Commit 42eaa17

Browse files
committed
Fixes
1 parent 3a8a1c9 commit 42eaa17

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Lib/pickletools.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
#
111111
# The second major set of additions is now called "protocol 1", and was called
112112
# "binary mode" before Python 2.3. This added many opcodes with arguments
113-
# consisting of arbitrary bytes, including NULL bytes and unprintable "high bit"
113+
# consisting of arbitrary bytes, including NUL bytes and unprintable "high bit"
114114
# bytes. Binary mode pickles can be substantially smaller than equivalent
115115
# text mode pickles, and sometimes faster too; e.g., BININT represents a 4-byte
116116
# int as 4 bytes following the opcode, which is cheaper to unpickle than the
@@ -1228,8 +1228,7 @@ def __init__(self, name, code, arg,
12281228
12291229
The same as INT, except that the literal ends with 'L', and always
12301230
unpickles to a Python long. There doesn't seem a real purpose to the
1231-
trailing 'L', and the trailing 'L' is not required for Python 3.0 or
1232-
higher.
1231+
trailing 'L' and it's not required for Python 3.0 or higher.
12331232
12341233
Note that LONG takes time quadratic in the number of digits when
12351234
unpickling (this is simply due to the nature of decimal->binary

Misc/NEWS.d/next/Documentation/2025-06-02-19-49-33.gh-issue-135041.Jt5D8K.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)