From: Tim Peters Date: Mon, 27 Jan 2003 21:25:41 +0000 (+0000) Subject: Added some comments. X-Git-Tag: v2.3c1~2279 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb38e306aeeb10cc0d4f9f532777c773f63ad045;p=thirdparty%2FPython%2Fcpython.git Added some comments. --- diff --git a/Lib/pickle.py b/Lib/pickle.py index 4d7a5bec2b01..d3d1dcfee34e 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -192,6 +192,7 @@ class Pickler: self.write(self.put(memo_len)) self.memo[d] = memo_len, obj + # Return a PUT (BINPUT, LONG_BINPUT) opcode string, with argument i. def put(self, i): if self.bin: s = mdumps(i)[1:] @@ -202,6 +203,7 @@ class Pickler: return PUT + `i` + '\n' + # Return a GET (BINGET, LONG_BINGET) opcode string, with argument i. def get(self, i): if self.bin: s = mdumps(i)[1:]