Skip to content

Commit

Permalink
Corrected docs for forcedir
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Sep 25, 2019
1 parent 78ad403 commit 87ae9f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ def forcedir(path):
>>> forcedir("foo/bar/")
'foo/bar/'
>>> forcedir("foo/spam.txt")
'foo/spam.txt'
'foo/spam.txt/'
"""
if not path.endswith("/"):
Expand Down

0 comments on commit 87ae9f2

Please sign in to comment.