"basename" is now "stem" (preferred by Guido)
This commit is contained in:
parent
e1756bf5d0
commit
52967be17a
|
@ -374,7 +374,7 @@ Seven simple properties are provided on every path (each can be empty)::
|
|||
'c:\\'
|
||||
>>> p.name
|
||||
'pathlib.tar.gz'
|
||||
>>> p.basename
|
||||
>>> p.stem
|
||||
'pathlib.tar'
|
||||
>>> p.suffix
|
||||
'.gz'
|
||||
|
|
Loading…
Reference in New Issue