diff options
author | Guido van Rossum <guido@dropbox.com> | 2016-05-19 20:11:17 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@dropbox.com> | 2016-05-19 20:11:17 (GMT) |
commit | 03e6061956d10586b70eb78f3d76ce0952ee5bd8 (patch) | |
tree | 4e8bf012754eb339d45cd9d0d14b26c6c4a5b360 /Lib/pathlib.py | |
parent | 7fa6378747dfffb983f14b9f6e760ab65a112fe3 (diff) | |
parent | 387e6e38175b853741c4f35e08791f0990bc0845 (diff) | |
download | cpython-03e6061956d10586b70eb78f3d76ce0952ee5bd8.zip cpython-03e6061956d10586b70eb78f3d76ce0952ee5bd8.tar.gz cpython-03e6061956d10586b70eb78f3d76ce0952ee5bd8.tar.bz2 |
Back out pathlib.Path.path attr. (Merge 3.5->3.6)
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.""" |