mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Issue #14127: Fix no-op stub for platforms that lack some "os" functions.
This commit is contained in:
parent
a6becaa9cb
commit
b14544807e
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue