summaryrefslogtreecommitdiff
path: root/Lib/pathlib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2016-05-19 13:00:21 -0700
committerGuido van Rossum <guido@python.org>2016-05-19 13:00:21 -0700
commit46562d808e8a19fcc789a3caab638b98a96b00b4 (patch)
treefabf57667f34a037c3f06ad0b4790e656d7c8789 /Lib/pathlib.py
parenta5031959cf49e2278937b2f1d014fff8329eb048 (diff)
downloadcpython-46562d808e8a19fcc789a3caab638b98a96b00b4.tar.gz
Back out 7e9605697dfc, 2e3c31ab586a, 759b2cecc289.
These added a path attribute to pathlib.Path objects, and docs. Instead, we're going to use PEP 519. (Starting in the 3.4 branch and merging forward from there since that's what I did originally.)
Diffstat (limited to 'Lib/pathlib.py')
-rw-r--r--Lib/pathlib.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/pathlib.py b/Lib/pathlib.py
index 8fef2590b8..4fa872d620 100644
--- a/Lib/pathlib.py
+++ b/Lib/pathlib.py
@@ -648,13 +648,6 @@ class PurePath(object):
self._parts) or '.'
return self._str
- @property
- def path(self):
- try:
- return self._str
- except AttributeError:
- return str(self)
-
def as_posix(self):
"""Return the string representation of the path with forward (/)
slashes."""