Skip to content

Commit b144689

Browse files
Add notes re docstrings
1 parent b8ef03d commit b144689

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Modules/_sqlite/connection.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ class IsolationLevel_converter(CConverter):
140140
[python start generated code]*/
141141
/*[python end generated code: output=da39a3ee5e6b4b0d input=cbcfe85b253061c2]*/
142142

143+
// NB: This needs to be in sync with the sqlite3.connect docstring
143144
/*[clinic input]
144145
_sqlite3.Connection.__init__ as pysqlite_connection_init
145146

Modules/_sqlite/module.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ module _sqlite3
4242
[clinic start generated code]*/
4343
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=81e330492d57488e]*/
4444

45+
// NB: This needs to be in sync with the Connection.__init__ docstring.
4546
PyDoc_STRVAR(module_connect_doc,
4647
"connect($module, /, database, timeout=5.0, detect_types=0,\n"
4748
" isolation_level=<unrepresentable>, check_same_thread=True,\n"

0 commit comments

Comments
 (0)