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

Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
yoff
2020-11-02 17:19:10 +01:00
committed by GitHub
parent 1c83d67513
commit ca34219ec5

View File

@@ -66,7 +66,7 @@ module Connection {
* See https://www.python.org/dev/peps/pep-0249/#cursor.
*/
module cursor {
/** Gets a reference to the `db.connection.cursor` metod. */
/** Gets a reference to the `db.connection.cursor` method. */
private DataFlow::Node methodRef(DataFlow::TypeTracker t) {
t.startInAttr("cursor") and
result = Connection::instance()