aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/src/Modules/clinic/pwdmodule.c.h
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.ru>2022-02-10 16:44:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:30 +0300
commit2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch)
tree012bb94d777798f1f56ac1cec429509766d05181 /contrib/tools/python3/src/Modules/clinic/pwdmodule.c.h
parent6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff)
downloadydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/python3/src/Modules/clinic/pwdmodule.c.h')
-rw-r--r--contrib/tools/python3/src/Modules/clinic/pwdmodule.c.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/contrib/tools/python3/src/Modules/clinic/pwdmodule.c.h b/contrib/tools/python3/src/Modules/clinic/pwdmodule.c.h
index cb83062495..0d9c4dbd99 100644
--- a/contrib/tools/python3/src/Modules/clinic/pwdmodule.c.h
+++ b/contrib/tools/python3/src/Modules/clinic/pwdmodule.c.h
@@ -14,7 +14,7 @@ PyDoc_STRVAR(pwd_getpwuid__doc__,
{"getpwuid", (PyCFunction)pwd_getpwuid, METH_O, pwd_getpwuid__doc__},
PyDoc_STRVAR(pwd_getpwnam__doc__,
-"getpwnam($module, name, /)\n"
+"getpwnam($module, name, /)\n"
"--\n"
"\n"
"Return the password database entry for the given user name.\n"
@@ -25,23 +25,23 @@ PyDoc_STRVAR(pwd_getpwnam__doc__,
{"getpwnam", (PyCFunction)pwd_getpwnam, METH_O, pwd_getpwnam__doc__},
static PyObject *
-pwd_getpwnam_impl(PyObject *module, PyObject *name);
+pwd_getpwnam_impl(PyObject *module, PyObject *name);
static PyObject *
-pwd_getpwnam(PyObject *module, PyObject *arg)
+pwd_getpwnam(PyObject *module, PyObject *arg)
{
PyObject *return_value = NULL;
- PyObject *name;
+ PyObject *name;
- if (!PyUnicode_Check(arg)) {
- _PyArg_BadArgument("getpwnam", "argument", "str", arg);
+ if (!PyUnicode_Check(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);
+ if (PyUnicode_READY(arg) == -1) {
+ goto exit;
+ }
+ name = arg;
+ return_value = pwd_getpwnam_impl(module, name);
exit:
return return_value;
@@ -74,4 +74,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=7fceab7f1a85da36 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=7fceab7f1a85da36 input=a9049054013a1b77]*/