diff options
author | Guido van Rossum <guido@python.org> | 2016-05-19 20:10:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2016-05-19 20:10:20 (GMT) |
commit | 387e6e38175b853741c4f35e08791f0990bc0845 (patch) | |
tree | d869c7273239c3991c3e5a54ae6966462260ac3c /Lib/pathlib.py | |
parent | d8bf09c6cd1137b148a06a0283c060e3e1e6cc46 (diff) | |
parent | 3d4d01f614d894327bbdc1feadebd50b2d3621ff (diff) | |
download | cpython-387e6e38175b853741c4f35e08791f0990bc0845.zip cpython-387e6e38175b853741c4f35e08791f0990bc0845.tar.gz cpython-387e6e38175b853741c4f35e08791f0990bc0845.tar.bz2 |
Back out pathlib.Path.path attr. (Merge 3.4->3.5)
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 ed31ddb..caf685e 100644 --- a/Lib/pathlib.py +++ b/Lib/pathlib.py @@ -693,13 +693,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.""" |