Merged revisions 84106 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84106 | alexander.belopolsky | 2010-08-16 16:17:07 -0400 (Mon, 16 Aug 2010) | 1 line
Issue #8983: Corrected docstrings.
........
diff --git a/Modules/pwdmodule.c b/Modules/pwdmodule.c
index ae358e0..6729c84 100644
--- a/Modules/pwdmodule.c
+++ b/Modules/pwdmodule.c
@@ -98,7 +98,7 @@
"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)
@@ -119,7 +119,7 @@
"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)
@@ -141,7 +141,7 @@
"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)
diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c
index 3db6e61..a89158e 100644
--- a/Modules/threadmodule.c
+++ b/Modules/threadmodule.c
@@ -756,7 +756,7 @@
"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)