MCPcopy Index your code
hub / github.com/python/cpython / _getpwuid

Function _getpwuid

Lib/netrc.py:15–20  ·  view source on GitHub ↗
(uid)

Source from the content-addressed store, hash-verified

13
14
15def _getpwuid(uid):
16 try:
17 import pwd
18 return pwd.getpwuid(uid)[0]
19 except (ImportError, LookupError):
20 return f'uid {uid}'
21
22
23class NetrcParseError(Exception):

Callers 1

_security_checkMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…