@@ -41,7 +41,7 @@ def _is_recursionerror(e):
4141
4242
4343if hasattr (sys , "pypy_version_info" ):
44- # cStringIO is slow on PyPy, StringIO is faster. However: PyPy's own
44+ # StringIO is slow on PyPy, StringIO is faster. However: PyPy's own
4545 # StringBuilder is fastest.
4646 from __pypy__ import newlist_hint
4747
@@ -147,7 +147,7 @@ def unpackb(packed, **kwargs):
147147if sys .version_info < (2 , 7 , 6 ):
148148
149149 def _unpack_from (f , b , o = 0 ):
150- """Explicit typcast for legacy struct.unpack_from"""
150+ """Explicit type cast for legacy struct.unpack_from"""
151151 return struct .unpack_from (f , bytes (b ), o )
152152
153153
@@ -178,7 +178,7 @@ class Unpacker(object):
178178 :param int timestamp:
179179 Control how timestamp type is unpacked:
180180
181- 0 - Tiemstamp
181+ 0 - Timestamp
182182 1 - float (Seconds from the EPOCH)
183183 2 - int (Nanoseconds from the EPOCH)
184184 3 - datetime.datetime (UTC). Python 2 is not supported.
@@ -749,7 +749,7 @@ class Packer(object):
749749 """
750750 MessagePack Packer
751751
752- usage :
752+ Usage :
753753
754754 packer = Packer()
755755 astream.write(packer.pack(a))
@@ -783,7 +783,7 @@ class Packer(object):
783783 :param bool datetime:
784784 If set to true, datetime with tzinfo is packed into Timestamp type.
785785 Note that the tzinfo is stripped in the timestamp.
786- You can get UTC datetime with `timestamp=3` option of the Unapcker .
786+ You can get UTC datetime with `timestamp=3` option of the Unpacker .
787787 (Python 2 is not supported).
788788
789789 :param str unicode_errors:
0 commit comments