Commit 505be214 authored by R David Murray's avatar R David Murray

#14984: only import pwd on POSIX.

parent 104aab95
......@@ -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"]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment