Skip to content

Commit 4c73ab2

Browse files
asgerftausbn
andauthored
Apply suggestions from code review
Co-authored-by: Taus <[email protected]>
1 parent a033338 commit 4c73ab2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/lib/semmle/python/ApiGraphs.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module API {
3232
* 2. Follow up with a chain of accessors such as `getMember` describing how to get to the relevant API function.
3333
* 3. Map the resulting API graph nodes to data-flow nodes, using `asSource` or `asSink`.
3434
*
35-
* For example, a simplified way to get arguments to `json.dumps` would be
35+
* For example, a simplified way to get the first argument of a call to `json.dumps` would be
3636
* ```ql
3737
* API::moduleImport("json").getMember("dumps").getParameter(0).asSink()
3838
* ```
@@ -108,7 +108,7 @@ module API {
108108
* external library (or in general, any external codebase).
109109
*
110110
* Concretely, this is either an argument passed to a call to external code,
111-
* or the right-hand side of a property write on an object flowing into such a call.
111+
* or the right-hand side of an attribute write on an object flowing into such a call.
112112
*
113113
* For example:
114114
* ```python

0 commit comments

Comments
 (0)