Skip to content

Commit f0e9fb3

Browse files
authored
typo
1 parent 23f244a commit f0e9fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cheatsheet/manipulating-strings.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ An optional second argument to `rjust()` and `ljust()` will specify a fill chara
295295

296296
## The Count Method
297297

298-
Counts the number of occurences of a given character or substring in the string it is applied to. Can be optionally provided start and end index.
298+
Counts the number of occurrences of a given character or substring in the string it is applied to. Can be optionally provided start and end index.
299299

300300
```python
301301
>>> sentence = 'one sheep two sheep three sheep four'

0 commit comments

Comments
 (0)