summaryrefslogtreecommitdiff
path: root/Lib/shutil.py
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2012-05-03 12:56:44 -0700
committerLarry Hastings <larry@hastings.org>2012-05-03 12:56:44 -0700
commitb14544807e73e371b68753d1b01f3e1ad2eecc1c (patch)
tree84d5086996a8f5544023209a787607605c2f8b74 /Lib/shutil.py
parenta6becaa9cbe40aebbac1699b12163f9229a79f09 (diff)
downloadcpython-git-b14544807e73e371b68753d1b01f3e1ad2eecc1c.tar.gz
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 6df492425c..892a94cc41 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):