Skip to content

Commit bd78966

Browse files
alexwlchansimonw
authored andcommitted
Add a type hint for db.close() (#663)
Closes #662
1 parent 25d88cb commit bd78966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlite_utils/db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def __init__(
368368
pm.hook.prepare_connection(conn=self.conn)
369369
self.strict = strict
370370

371-
def close(self):
371+
def close(self) -> None:
372372
"Close the SQLite connection, and the underlying database file"
373373
self.conn.close()
374374

0 commit comments

Comments
 (0)