Kill as_bytes()
This commit is contained in:
parent
08daab3583
commit
4ddef5a086
|
@ -343,7 +343,7 @@ method::
|
|||
'c:/windows'
|
||||
|
||||
To get the bytes representation (which might be useful under Unix systems),
|
||||
call ``bytes()`` on it, or use the ``as_bytes()`` method::
|
||||
call ``bytes()`` on it::
|
||||
|
||||
>>> bytes(p)
|
||||
b'/home/antoine/pathlib/setup.py'
|
||||
|
|
Loading…
Reference in New Issue