Skip to content

Commit ed0fe29

Browse files
RasmusWLtausbn
andauthored
Python: Fix grammar
Co-authored-by: Taus <tausbn@github.com>
1 parent 41ec4f8 commit ed0fe29

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ private module FlaskModel {
164164
}
165165

166166
/**
167-
* A call the `route` method on an instance of `flask.Flask`.
167+
* A call to the `route` method on an instance of `flask.Flask`.
168168
*
169169
* See https://flask.palletsprojects.com/en/1.1.x/api/#flask.Flask.route
170170
*/
@@ -181,7 +181,7 @@ private module FlaskModel {
181181
}
182182

183183
/**
184-
* A call the `add_url_rule` method on an instance of `flask.Flask`.
184+
* A call to the `add_url_rule` method on an instance of `flask.Flask`.
185185
*
186186
* See https://flask.palletsprojects.com/en/1.1.x/api/#flask.Flask.add_url_rule
187187
*/

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,31 +60,31 @@ module Werkzeug {
6060
}
6161

6262
/**
63-
* Provides models for the `werkzeug.datastrctures.FileStorage` class
63+
* Provides models for the `werkzeug.datastructures.FileStorage` class
6464
*
6565
* See https://werkzeug.palletsprojects.com/en/1.0.x/datastructures/#werkzeug.datastructures.FileStorage.
6666
*/
6767
module FileStorage {
6868
/**
69-
* A source of an instance of `werkzeug.datastrctures.FileStorage`.
69+
* A source of an instance of `werkzeug.datastructures.FileStorage`.
7070
*
7171
* This can include instantiation of the class, return value from function
72-
* calls, or a special parameter that will be set when functions are call by external
72+
* calls, or a special parameter that will be set when functions are called by an external
7373
* library.
7474
*
75-
* Use `FileStorage::instance()` predicate to get references to instances of `werkzeug.datastrctures.FileStorage`.
75+
* Use `FileStorage::instance()` predicate to get references to instances of `werkzeug.datastructures.FileStorage`.
7676
*/
7777
abstract class InstanceSource extends DataFlow::Node { }
7878

79-
/** Gets a reference to an instance of `werkzeug.datastrctures.FileStorage`. */
79+
/** Gets a reference to an instance of `werkzeug.datastructures.FileStorage`. */
8080
private DataFlow::Node instance(DataFlow::TypeTracker t) {
8181
t.start() and
8282
result instanceof InstanceSource
8383
or
8484
exists(DataFlow::TypeTracker t2 | result = instance(t2).track(t2, t))
8585
}
8686

87-
/** Gets a reference to an instance of `werkzeug.datastrctures.FileStorage`. */
87+
/** Gets a reference to an instance of `werkzeug.datastructures.FileStorage`. */
8888
DataFlow::Node instance() { result = instance(DataFlow::TypeTracker::end()) }
8989
}
9090
}

0 commit comments

Comments
 (0)