summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-08-16 20:17:07 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-08-16 20:17:07 (GMT)
commit977a684c94c369a858f49ce1447308e373ca4ced (patch)
treeff6779e1c4a2dfcf13edf2c7a2858fc0b27473e7 /Modules
parent4a339ad628e34578a0daea676b56fff919da6bb3 (diff)
downloadcpython-977a684c94c369a858f49ce1447308e373ca4ced.zip
cpython-977a684c94c369a858f49ce1447308e373ca4ced.tar.gz
cpython-977a684c94c369a858f49ce1447308e373ca4ced.tar.bz2
Issue #8983: Corrected docstrings.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_threadmodule.c2
-rw-r--r--Modules/pwdmodule.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_threadmodule.c b/Modules/_threadmodule.c
index 3037967..a7fb017 100644
--- a/Modules/_threadmodule.c
+++ b/Modules/_threadmodule.c
@@ -1078,7 +1078,7 @@ PyDoc_STRVAR(allocate_doc,
"allocate_lock() -> lock object\n\
(allocate() is an obsolete synonym)\n\
\n\
-Create a new lock object. See LockType.__doc__ for information about locks.");
+Create a new lock object. See help(LockType) for information about locks.");
static PyObject *
thread_get_ident(PyObject *self)
diff --git a/Modules/pwdmodule.c b/Modules/pwdmodule.c
index b303f95..4e6bd2f 100644
--- a/Modules/pwdmodule.c
+++ b/Modules/pwdmodule.c
@@ -100,7 +100,7 @@ PyDoc_STRVAR(pwd_getpwuid__doc__,
"getpwuid(uid) -> (pw_name,pw_passwd,pw_uid,\n\
pw_gid,pw_gecos,pw_dir,pw_shell)\n\
Return the password database entry for the given numeric user ID.\n\
-See pwd.__doc__ for more on password database entries.");
+See help(pwd) for more on password database entries.");
static PyObject *
pwd_getpwuid(PyObject *self, PyObject *args)
@@ -121,7 +121,7 @@ PyDoc_STRVAR(pwd_getpwnam__doc__,
"getpwnam(name) -> (pw_name,pw_passwd,pw_uid,\n\
pw_gid,pw_gecos,pw_dir,pw_shell)\n\
Return the password database entry for the given user name.\n\
-See pwd.__doc__ for more on password database entries.");
+See help(pwd) for more on password database entries.");
static PyObject *
pwd_getpwnam(PyObject *self, PyObject *args)
@@ -152,7 +152,7 @@ PyDoc_STRVAR(pwd_getpwall__doc__,
"getpwall() -> list_of_entries\n\
Return a list of all available password database entries, \
in arbitrary order.\n\
-See pwd.__doc__ for more on password database entries.");
+See help(pwd) for more on password database entries.");
static PyObject *
pwd_getpwall(PyObject *self)