@@ -146,7 +146,7 @@ module PEP249 {
146
146
* Note: while `execute` method on a connection is not part of PEP249, if it is used, we
147
147
* recognize it as an alias for constructing a cursor and calling `execute` on it.
148
148
*
149
- * See https://www .python.org/dev/peps/ pep-0249/#id15 .
149
+ * See https://peps .python.org/pep-0249/#execute .
150
150
*/
151
151
private DataFlow:: TypeTrackingNode execute ( DataFlow:: TypeTracker t ) {
152
152
t .startInAttr ( "execute" ) and
@@ -161,11 +161,18 @@ module PEP249 {
161
161
* Note: while `execute` method on a connection is not part of PEP249, if it is used, we
162
162
* recognize it as an alias for constructing a cursor and calling `execute` on it.
163
163
*
164
- * See https://www .python.org/dev/peps/ pep-0249/#id15 .
164
+ * See https://peps .python.org/pep-0249/#execute .
165
165
*/
166
166
DataFlow:: Node execute ( ) { execute ( DataFlow:: TypeTracker:: end ( ) ) .flowsTo ( result ) }
167
167
168
- /** A call to the `execute` method on a cursor (or on a connection). */
168
+ /**
169
+ * A call to the `execute` method on a cursor or a connection.
170
+ *
171
+ * See https://peps.python.org/pep-0249/#execute
172
+ *
173
+ * Note: While `execute` method on a connection is not part of PEP249, if it is used, we
174
+ * recognize it as an alias for constructing a cursor and calling `execute` on it.
175
+ */
169
176
private class ExecuteCall extends SqlExecution:: Range , DataFlow:: CallCfgNode {
170
177
ExecuteCall ( ) { this .getFunction ( ) = execute ( ) }
171
178
0 commit comments