Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fac312f commit 404ac97Copy full SHA for 404ac97
1 file changed
Doc/tools/refcounts.py
@@ -32,6 +32,8 @@ def loadfile(fp):
32
# blank lines and comments
33
continue
34
parts = string.split(line, ":", 4)
35
+ if len(parts) != 5:
36
+ raise ValueError("Not enough fields in " + `line`)
37
function, type, arg, refcount, comment = parts
38
if refcount == "null":
39
refcount = None
0 commit comments