File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -554,11 +554,8 @@ def __str__(self):
554554 self ._str = self ._format_parsed_parts (self ._drv , self ._root , self ._parts ) or "."
555555 return self ._str
556556
557- # bitranox - define __fspath__ only on python >= 3.10
558- '''
559557 def __fspath__ (self ):
560558 return str (self )
561- '''
562559
563560 def as_posix (self ):
564561 """Return the string representation of the path with forward (/)
Original file line number Diff line number Diff line change @@ -75,10 +75,7 @@ class PurePath(PathLike[str]):
7575 def __new__ (cls : type [Self ], * args : StrPath ) -> Self : ...
7676 def __hash__ (self ) -> int : ...
7777 def __eq__ (self , other : object ) -> bool : ...
78- # bitranox - define __fspath__ only on python >= 3.10
79- '''
8078 def __fspath__ (self ) -> str : ...
81- '''
8279 def __lt__ (self , other : PurePath ) -> bool : ...
8380 def __le__ (self , other : PurePath ) -> bool : ...
8481 def __gt__ (self , other : PurePath ) -> bool : ...
You can’t perform that action at this time.
0 commit comments