classification
Title: Typo in grpmodule.c
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.3, Python 3.4, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, mark.dickinson, python-dev, vajrasky
Priority: normal Keywords:

Created on 2013-08-05 09:43 by vajrasky, last changed 2013-08-05 16:59 by mark.dickinson. This issue is now closed.

Messages (4)
msg194465 - (view) Author: Vajrasky Kok (vajrasky) * Date: 2013-08-05 09:43
I guess, there is a typo in Modules/grpmodule.c. See the patch below:

diff -r f4f81ebc3de9 Modules/grpmodule.c
--- a/Modules/grpmodule.c	Sun Aug 04 15:50:08 2013 -0400
+++ b/Modules/grpmodule.c	Mon Aug 05 17:40:33 2013 +0800
@@ -10,7 +10,7 @@
    {"gr_name", "group name"},
    {"gr_passwd", "password"},
    {"gr_gid", "group id"},
-   {"gr_mem", "group memebers"},
+   {"gr_mem", "group members"},
    {0}
 };

I am not sure whether the line after typo should be {0} or {0, 0}.
msg194466 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2013-08-05 09:53
{0} is fine;  some compilers will warn about it, but I believe it's valid C.
msg194492 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-08-05 16:58
New changeset 395ac61ebe1a by Mark Dickinson in branch '2.7':
Issue #18661: typo in grp.struct_group docstring.
http://hg.python.org/cpython/rev/395ac61ebe1a

New changeset 791034a0ae1e by Mark Dickinson in branch '3.3':
Issue #18661: typo in grp.struct_group docstring.  Thanks Vajrasky Kok.
http://hg.python.org/cpython/rev/791034a0ae1e

New changeset f534960c2c02 by Mark Dickinson in branch 'default':
Issue #18661: typo in grp.struct_group docstring (fix merged from 3.3).  Thanks Vajrasky Kok.
http://hg.python.org/cpython/rev/f534960c2c02
msg194493 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2013-08-05 16:59
Fixed.  Thanks for the report!
History
Date User Action Args
2013-08-05 16:59:03mark.dickinsonsetstatus: open -> closed
versions: + Python 2.7, Python 3.3
type: behavior
messages: + msg194493

resolution: fixed
stage: resolved
2013-08-05 16:58:15python-devsetnosy: + python-dev
messages: + msg194492
2013-08-05 09:53:44mark.dickinsonsetnosy: + mark.dickinson
messages: + msg194466
2013-08-05 09:43:08vajraskycreate