diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-05-08 13:53:41 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-08 13:53:41 +0000 |
commit | 4c35964b764540988bfb342bffc7c4b1cb674031 (patch) | |
tree | aecd23f6cba96f1110bd90cc9fd774f17d6fa4ce /Lib/pickletools.py | |
parent | Fix typos in comments, documentation and test method names (diff) | |
download | cpython-4c35964b764540988bfb342bffc7c4b1cb674031.tar.gz cpython-4c35964b764540988bfb342bffc7c4b1cb674031.tar.bz2 cpython-4c35964b764540988bfb342bffc7c4b1cb674031.zip |
Corrections for a/an in code comments and documentation
Diffstat (limited to 'Lib/pickletools.py')
-rw-r--r-- | Lib/pickletools.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py index 155bd5b4ab3..16ae7d56b9c 100644 --- a/Lib/pickletools.py +++ b/Lib/pickletools.py @@ -590,7 +590,7 @@ bytes8 = ArgumentDescriptor( reader=read_bytes8, doc="""A counted bytes string. - The first argument is a 8-byte little-endian unsigned int giving + The first argument is an 8-byte little-endian unsigned int giving the number of bytes, and the second argument is that many bytes. """) @@ -734,7 +734,7 @@ unicodestring8 = ArgumentDescriptor( reader=read_unicodestring8, doc="""A counted Unicode string. - The first argument is a 8-byte little-endian signed int + The first argument is an 8-byte little-endian signed int giving the number of bytes in the string, and the second argument-- the UTF-8 encoding of the Unicode string -- contains that many bytes. @@ -1330,7 +1330,7 @@ opcodes = [ proto=4, doc="""Push a Python bytes object. - There are two arguments: the first is a 8-byte unsigned int giving + There are two arguments: the first is an 8-byte unsigned int giving the number of bytes in the string, and the second is that many bytes, which are taken literally as the string content. """), @@ -1417,7 +1417,7 @@ opcodes = [ proto=4, doc="""Push a Python Unicode string object. - There are two arguments: the first is a 8-byte little-endian signed int + There are two arguments: the first is an 8-byte little-endian signed int giving the number of bytes in the string. The second is that many bytes, and is the UTF-8 encoding of the Unicode string. """), |