"basename" is now "stem" (preferred by Guido)

This commit is contained in:
Antoine Pitrou 2013-10-27 16:56:12 +01:00
parent e1756bf5d0
commit 52967be17a
1 changed files with 1 additions and 1 deletions

View File

@ -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'