File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -281,10 +281,10 @@ process and user.
281
281
.. function :: getlogin()
282
282
283
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.
284
+ process. For most purposes, it is more useful to use the environment
285
+ variables :envvar: `LOGNAME ` or :envvar: `USERNAME ` to find out who the user
286
+ is, or ``pwd.getpwuid(os.getuid())[0] `` to get the login name of the current
287
+ real user id.
288
288
289
289
Availability: Unix, Windows.
290
290
You can’t perform that action at this time.
0 commit comments