]> granicus.if.org Git - python/commit
SF patch #470393 (Jim Ahlstrom): Add missing marshal function
authorGuido van Rossum <guido@python.org>
Fri, 19 Oct 2001 01:46:21 +0000 (01:46 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 19 Oct 2001 01:46:21 +0000 (01:46 +0000)
commitb8cf3e64beefc65b462324efa09c85e85bdba7c2
tree5c02b31d991008d73ecd1a357b7b5ba272f20c1b
parentc524d952da928f745203876f2e67f651c2bc7246
SF patch #470393 (Jim Ahlstrom): Add missing marshal function

    In Include/, marshal.h declares both
    PyMarshal_ReadLongFromFile()
    and PyMarshal_ReadShortFromFile(),
    but the second is missing from marshal.c.

[Shouldn't the return type be declared as 'short' instead of 'int'?
But 'int' is what was in marshal.h all those years...  --Guido]
Python/marshal.c