Skip to content

Commit 1643ed5

Browse files
committed
Fix code smell
1 parent 404f4df commit 1643ed5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pymongosql/connection.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ def _init_database(self) -> None:
112112
113113
Behavior:
114114
- If `database` parameter was provided explicitly, use that database name.
115-
- Otherwise, try to use the MongoClient's default database (from the URI path). If no default is set, leave `self._database` as None.
115+
- Otherwise, try to use the MongoClient's default database (from the URI path).
116+
If no default is set, leave `self._database` as None.
116117
"""
117118
if self._client is None:
118119
self._database = None

0 commit comments

Comments
 (0)