summaryrefslogtreecommitdiffstats
path: root/Lib/shutil.py
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2012-05-03 19:56:44 (GMT)
committerLarry Hastings <larry@hastings.org>2012-05-03 19:56:44 (GMT)
commitb14544807e73e371b68753d1b01f3e1ad2eecc1c (patch)
tree84d5086996a8f5544023209a787607605c2f8b74 /Lib/shutil.py
parenta6becaa9cbe40aebbac1699b12163f9229a79f09 (diff)
downloadcpython-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.py2
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):