summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/pwdmodule.c.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/clinic/pwdmodule.c.h')
-rw-r--r--Modules/clinic/pwdmodule.c.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Modules/clinic/pwdmodule.c.h b/Modules/clinic/pwdmodule.c.h
index f2603ea..748c873 100644
--- a/Modules/clinic/pwdmodule.c.h
+++ b/Modules/clinic/pwdmodule.c.h
@@ -43,9 +43,6 @@ pwd_getpwnam(PyObject *module, PyObject *arg)
_PyArg_BadArgument("getpwnam", "argument", "str", arg);
goto exit;
}
- if (PyUnicode_READY(arg) == -1) {
- goto exit;
- }
name = arg;
return_value = pwd_getpwnam_impl(module, name);
@@ -80,4 +77,4 @@ pwd_getpwall(PyObject *module, PyObject *Py_UNUSED(ignored))
#ifndef PWD_GETPWALL_METHODDEF
#define PWD_GETPWALL_METHODDEF
#endif /* !defined(PWD_GETPWALL_METHODDEF) */
-/*[clinic end generated code: output=a95bc08653cda56b input=a9049054013a1b77]*/
+/*[clinic end generated code: output=1edf1e26cd2762db input=a9049054013a1b77]*/