| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a2d5698 commit 9d77664
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -44,7 +44,7 @@ namespace_init(_PyNamespaceObject *ns, PyObject *args, PyObject *kwds) | |||
| 44 | 44 | if (args != NULL) { | |
| 45 | 45 | Py_ssize_t argcount = PyObject_Size(args); | |
| 46 | 46 | if (argcount < 0) | |
| 47 | - return argcount; | ||
| 47 | + return -1; | ||
| 48 | 48 | else if (argcount > 0) { | |
| 49 | 49 | PyErr_Format(PyExc_TypeError, "no positional arguments expected"); | |
| 50 | 50 | return -1; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments