8000 fix typo in comment (#1024) · PyMySQL/PyMySQL@534f4a6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 534f4a6

Browse files
authored
fix typo in comment (#1024)
1 parent f24cb9a commit 534f4a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymysql/connections.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,12 @@ def __init__(
204204
db=None, # deprecated
205205
):
206206
if db is not None and database is None:
207-
# We will raise warining in 2022 or later.
207+
# We will raise warning in 2022 or later.
208208
# See https://github.com/PyMySQL/PyMySQL/issues/939
209209
# warnings.warn("'db' is deprecated, use 'database'", DeprecationWarning, 3)
210210
database = db
211211
if passwd is not None and not password:
212-
# We will raise warining in 2022 or later.
212+
# We will raise warning in 2022 or later.
213213
# See https://github.com/PyMySQL/PyMySQL/issues/939
214214
# warnings.warn(
215215
# "'passwd' is deprecated, use 'password'", DeprecationWarning, 3

0 commit comments

Comments
 (0)
0