From 9594942716a8f9c557b85d31751753d89cd7cebf Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Tue, 27 Aug 2013 19:40:23 +0300 Subject: Issue #18783: Removed existing mentions of Python long type in docstrings, error messages and comments. --- Lib/pickle.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/pickle.py') diff --git a/Lib/pickle.py b/Lib/pickle.py index 1d8185c6c6..d62f014a67 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -1270,7 +1270,7 @@ class _Unpickler: raise _Stop(value) dispatch[STOP[0]] = load_stop -# Encode/decode longs. +# Encode/decode ints. def encode_long(x): r"""Encode a long to a two's complement little-endian binary string. @@ -1303,7 +1303,7 @@ def encode_long(x): return result def decode_long(data): - r"""Decode a long from a two's complement little-endian binary string. + r"""Decode an int from a two's complement little-endian binary string. >>> decode_long(b'') 0 -- cgit v1.2.1