Skip to content

Commit 87ae9f2

Browse files
committed
Corrected docs for forcedir
1 parent 78ad403 commit 87ae9f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ def forcedir(path):
509509
>>> forcedir("foo/bar/")
510510
'foo/bar/'
511511
>>> forcedir("foo/spam.txt")
512-
'foo/spam.txt'
512+
'foo/spam.txt/'
513513
514514
"""
515515
if not path.endswith("/"):

0 commit comments

Comments
 (0)