File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -555,10 +555,10 @@ def __str__(self):
555555 return self ._str
556556
557557 # bitranox - define __fspath__ only on python >= 3.10
558- if sys . version_info >= ( 3 , 10 ):
559-
560- def __fspath__ (self ):
561- return str ( self )
558+ '''
559+ def __fspath__(self):
560+ return str (self)
561+ '''
562562
563563 def as_posix (self ):
564564 """Return the string representation of the path with forward (/)
Original file line number Diff line number Diff line change @@ -76,8 +76,9 @@ class PurePath(PathLike[str]):
7676 def __hash__ (self ) -> int : ...
7777 def __eq__ (self , other : object ) -> bool : ...
7878 # bitranox - define __fspath__ only on python >= 3.10
79- if sys .version_info >= (3 , 10 ):
80- def __fspath__ (self ) -> str : ...
79+ '''
80+ def __fspath__(self) -> str: ...
81+ '''
8182 def __lt__ (self , other : PurePath ) -> bool : ...
8283 def __le__ (self , other : PurePath ) -> bool : ...
8384 def __gt__ (self , other : PurePath ) -> bool : ...
You can’t perform that action at this time.
0 commit comments