Skip to content

Commit e774f4c

Browse files
authored
Merge pull request #395 from SeaSide53/typo
Typo in cheatsheet/manipulating-strings.md
2 parents 23f244a + f0e9fb3 commit e774f4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cheatsheet/manipulating-strings.md

Lines changed: 1 addition & 1 deletion
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)