Fix docstring

This commit is contained in:
Lukas Geiger 2020-07-08 14:27:10 +02:00
parent 575632d3eb
commit 7fe25a5872

View File

@ -195,8 +195,6 @@ def path_to_bytes(path):
Usage:
In case a simplified `bytes` version of the path is needed from an
`os.PathLike` object
```
"""
if hasattr(path, '__fspath__'):
path = path.__fspath__()