fixed typo for codespell (#5753)

This commit is contained in:
Leoriem-code 2021-11-02 22:17:57 +01:00 committed by GitHub
parent dd19d8120d
commit 60ad32920d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ def is_pentagonal(n: int) -> bool:
def solution(start: int = 144) -> int:
"""
Returns the next number which is traingular, pentagonal and hexagonal.
Returns the next number which is triangular, pentagonal and hexagonal.
>>> solution(144)
1533776805
"""

View File

@ -32,7 +32,7 @@ def get_all_tweets(screen_name: str) -> None:
while len(new_tweets) > 0:
print(f"getting tweets before {oldest}")
# all subsiquent requests use the max_id param to prevent duplicates
# all subsequent requests use the max_id param to prevent duplicates
new_tweets = api.user_timeline(
screen_name=screen_name, count=200, max_id=oldest
)