cpython: ef90c40fe6cf (original) (raw)
Mercurial > cpython
changeset 85752:ef90c40fe6cf 3.2
Merge #14984: only import pwd on POSIX. [#14984]
R David Murray rdmurray@bitdance.com | |
---|---|
date | Wed, 18 Sep 2013 08:53:26 -0400 |
parents | 0d9e471221da(current diff)713d71048ab9(diff) |
children | b8206cb2c4ee dda1a32748e0 |
files | |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-)[+] [-] Lib/netrc.py 4 |
line wrap: on
line diff
--- a/Lib/netrc.py +++ b/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':