[issue18661] Typo in grpmodule.c
New submission from Vajrasky Kok: 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}. ---------- assignee: docs@python components: Documentation messages: 194465 nosy: docs@python, vajrasky priority: normal severity: normal status: open title: Typo in grpmodule.c versions: Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18661> _______________________________________
Mark Dickinson added the comment: {0} is fine; some compilers will warn about it, but I believe it's valid C. ---------- nosy: +mark.dickinson _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18661> _______________________________________
Roundup Robot added the comment: 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 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18661> _______________________________________
Mark Dickinson added the comment: Fixed. Thanks for the report! ---------- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior versions: +Python 2.7, Python 3.3 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18661> _______________________________________
participants (3)
-
Mark Dickinson
-
Roundup Robot
-
Vajrasky Kok