Skip to content

Commit 83a8e16

Browse files
committed
lstrip does not strip from the right side
1 parent 85fa34b commit 83a8e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handy-stuff-strings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Here's some of the most commonly used string methods:
238238

239239
- Last but not least, we can use `strip`, `lstrip` and `rstrip` to
240240
remove spaces, newlines and some other whitespace characters from
241-
the end of a string. `lstrip` strips from the left side, `lstrip`
241+
the end of a string. `lstrip` strips from the left side, `rstrip`
242242
strips from the right side and `strip` strips from both sides.
243243

244244
```py

0 commit comments

Comments
 (0)