mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Back out pathlib.Path.path attr. (Merge 3.4->3.5)
This commit is contained in:
commit
387e6e3817
4 changed files with 0 additions and 62 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue