Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cff49f commit e218bcbCopy full SHA for e218bcb
1 file changed
Doc/library/os.rst
@@ -281,10 +281,10 @@ process and user.
281
.. function:: getlogin()
282
283
Return the name of the user logged in on the controlling terminal of the
284
- process. For most purposes, it is more useful to use the environment variables
285
- :envvar:`LOGNAME` or :envvar:`USERNAME` to find out who the user is, or
286
- ``pwd.getpwuid(os.getuid())[0]`` to get the login name of the currently
287
- effective user id.
+ process. For most purposes, it is more useful to use the environment
+ variables :envvar:`LOGNAME` or :envvar:`USERNAME` to find out who the user
+ is, or ``pwd.getpwuid(os.getuid())[0]`` to get the login name of the current
+ real user id.
288
289
Availability: Unix, Windows.
290
0 commit comments