Browse Source

#14984: only import pwd on POSIX.

pull/2332/head
R David Murray 13 years ago
parent
commit
505be2146f
  1. 4
      Lib/netrc.py

4
Lib/netrc.py

@ -2,7 +2,9 @@
# Module and documentation by Eric S. Raymond, 21 Dec 1998
import io, os, shlex, stat, pwd
import os, shlex, stat
if os.name == 'posix':
import pwd
__all__ = ["netrc", "NetrcParseError"]

Loading…
Cancel
Save