diff options
author | Guido van Rossum <guido@python.org> | 2016-05-19 20:00:21 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2016-05-19 20:00:21 (GMT) |
commit | 3d4d01f614d894327bbdc1feadebd50b2d3621ff (patch) | |
tree | fda99c3acd7a179cd4f492f765ccfeaa0fea9cd7 /Lib/pathlib.py | |
parent | 2a86122759f629a26dbfbc8258fc82c56c613429 (diff) | |
download | cpython-3d4d01f614d894327bbdc1feadebd50b2d3621ff.zip cpython-3d4d01f614d894327bbdc1feadebd50b2d3621ff.tar.gz cpython-3d4d01f614d894327bbdc1feadebd50b2d3621ff.tar.bz2 |
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.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/pathlib.py b/Lib/pathlib.py index 8fef259..4fa872d 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.""" |