Skip to content

Commit ad26312

Browse files
committed
fix comments
1 parent 6c8cc79 commit ad26312

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

python/ql/lib/semmle/python/frameworks/FileSystemAccess.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Provides classes modeling security-relevant aspects of the I/O write or read operations
2+
* Provides classes modeling security-relevant aspects of the I/O file write or file read operations
33
*/
44

55
private import python

python/ql/lib/semmle/python/frameworks/Starlette.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ module Starlette {
179179
/**
180180
* A call to the `baize.asgi.FileResponse` constructor as a sink for Filesystem access.
181181
*
182-
* it is not contained to Starlette source code but it is mentioned as an alternative to Starlette FileResponse
182+
* it is not contained to Starlette source code but it is mentioned in documents as an alternative to Starlette FileResponse
183183
*/
184184
class BaizeFileResponseCall extends FileSystemAccess::Range, API::CallNode {
185185
BaizeFileResponseCall() {

python/ql/lib/semmle/python/frameworks/Stdlib.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,7 @@ private module StdlibPrivate {
14911491

14921492
/**
14931493
* A call to the `io.open_code` function.
1494-
* See https://docs.python.org/3/library/io.html#io.FileIO
1494+
* See https://docs.python.org/3.11/library/io.html#io.open_code
14951495
*/
14961496
private class OpenCodeCall extends FileSystemAccess::Range, API::CallNode {
14971497
OpenCodeCall() { this = API::moduleImport("io").getMember("open_code").getACall() }

0 commit comments

Comments
 (0)