[docs] [issue22307] os.getlogin() documentation has misleading side note

Carlo report at bugs.python.org
Sat Aug 30 14:23:21 CEST 2014


New submission from Carlo:

The documentation for os.getlogin() says:

... ``pwd.getpwuid(os.getuid())[0]`` to get the login name of the currently effective user id

Either, os.getuid() should be changed to os.geteuid(), or the wording should be changed.

----------
assignee: docs at python
components: Documentation
messages: 226139
nosy: Carlo, docs at python
priority: normal
severity: normal
status: open
title: os.getlogin() documentation has misleading side note
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22307>
_______________________________________


More information about the docs mailing list