diff options
author | Larry Hastings <larry@hastings.org> | 2012-05-03 19:56:44 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2012-05-03 19:56:44 (GMT) |
commit | b14544807e73e371b68753d1b01f3e1ad2eecc1c (patch) | |
tree | 84d5086996a8f5544023209a787607605c2f8b74 /Lib/shutil.py | |
parent | a6becaa9cbe40aebbac1699b12163f9229a79f09 (diff) | |
download | cpython-b14544807e73e371b68753d1b01f3e1ad2eecc1c.zip cpython-b14544807e73e371b68753d1b01f3e1ad2eecc1c.tar.gz cpython-b14544807e73e371b68753d1b01f3e1ad2eecc1c.tar.bz2 |
Issue #14127: Fix no-op stub for platforms that lack some "os" functions.
Diffstat (limited to 'Lib/shutil.py')
-rw-r--r-- | Lib/shutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py index 6df4924..892a94c 100644 --- a/Lib/shutil.py +++ b/Lib/shutil.py @@ -138,7 +138,7 @@ def copystat(src, dst, symlinks=False): only if both `src` and `dst` are symlinks. """ - def _nop(*args): + def _nop(*args, ns=None): pass if symlinks and os.path.islink(src) and os.path.islink(dst): |