mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-20 04:13:16 +00:00
fix typos and other cosmetic issues (#214)
cosmetic issues: - reST headlines' underline length needs to match the headline length (looks like somebody is / was using a proportional font) - Cython code lines do not need to be terminated with a semicolon - always use triple-double-quotes for docstrings
This commit is contained in:
parent
a9f4dad4dc
commit
e3fea94509
10 changed files with 57 additions and 56 deletions
|
@ -42,7 +42,7 @@ def test_extension_type():
|
|||
typecode = 123 # application specific typecode
|
||||
data = obj.tostring()
|
||||
return ExtType(typecode, data)
|
||||
raise TypeError("Unknwon type object %r" % (obj,))
|
||||
raise TypeError("Unknown type object %r" % (obj,))
|
||||
|
||||
def ext_hook(code, data):
|
||||
print('ext_hook called', code, data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue