Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cb47b57

Browse files
committed
Python: fix typos
1 parent 222a2f7 commit cb47b57

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • python/ql/src/experimental/semmle/python/frameworks

python/ql/src/experimental/semmle/python/frameworks/PEP249.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ DataFlow::Node connect() { result = connect(DataFlow::TypeTracker::end()) }
2929
*/
3030
module Connection {
3131
/**
32-
* A source of an instance of `db.Conection`.
32+
* A source of an instance of `db.Connection`.
3333
*
3434
* This can include instantiation of the class, return value from function
3535
* calls, or a special parameter that will be set when functions are called by external
@@ -62,7 +62,7 @@ module Connection {
6262
}
6363

6464
/**
65-
* Provides models for the `db.connection.cursor` method.
65+
* Provides models for the `db.Connection.cursor` method.
6666
* See https://www.python.org/dev/peps/pep-0249/#cursor.
6767
*/
6868
module cursor {
@@ -90,7 +90,7 @@ module cursor {
9090
}
9191

9292
/**
93-
* Gets a reference to the `db.connection.cursor.execute` function.
93+
* Gets a reference to the `db.Connection.Cursor.execute` function.
9494
* See https://www.python.org/dev/peps/pep-0249/#id15.
9595
*/
9696
private DataFlow::Node execute(DataFlow::TypeTracker t) {
@@ -101,7 +101,7 @@ private DataFlow::Node execute(DataFlow::TypeTracker t) {
101101
}
102102

103103
/**
104-
* Gets a reference to the `db.connection.cursor.execute` function.
104+
* Gets a reference to the `db.Connection.Cursor.execute` function.
105105
* See https://www.python.org/dev/peps/pep-0249/#id15.
106106
*/
107107
DataFlow::Node execute() { result = execute(DataFlow::TypeTracker::end()) }

0 commit comments

Comments
 (0)