[Python-checkins] cpython: Issue #14127: Fix no-op stub for platforms that lack some "os" functions.
larry.hastings
python-checkins at python.org
Thu May 3 21:57:39 CEST 2012
http://hg.python.org/cpython/rev/cdc4e0f8135d
changeset: 76735:cdc4e0f8135d
user: Larry Hastings <larry at hastings.org>
date: Thu May 03 12:56:44 2012 -0700
summary:
Issue #14127: Fix no-op stub for platforms that lack some "os" functions.
files:
Lib/shutil.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/shutil.py b/Lib/shutil.py
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -138,7 +138,7 @@
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):
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list