summaryrefslogtreecommitdiffstats
path: root/Lib/tarfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/tarfile.py')
-rwxr-xr-xLib/tarfile.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py
index 85119a4..7b4732d 100755
--- a/Lib/tarfile.py
+++ b/Lib/tarfile.py
@@ -256,13 +256,6 @@ def copyfileobj(src, dst, length=None, exception=OSError, bufsize=None):
dst.write(buf)
return
-def filemode(mode):
- """Deprecated in this location; use stat.filemode."""
- import warnings
- warnings.warn("deprecated in favor of stat.filemode",
- DeprecationWarning, 2)
- return stat.filemode(mode)
-
def _safe_print(s):
encoding = getattr(sys.stdout, 'encoding', None)
if encoding is not None: