зеркало из https://github.com/github/codeql.git
Python: Fix typos
This commit is contained in:
Родитель
c1d073a54d
Коммит
6d5a8e4995
|
@ -16,7 +16,7 @@ import python
|
|||
* https://jinja.palletsprojects.com/en/2.11.x/api/#jinja2.Environment
|
||||
* https://jinja.palletsprojects.com/en/2.11.x/api/#jinja2.Template
|
||||
*
|
||||
* Although the docs doesn't say very clearly, autoescape is a valid arugment when constructing
|
||||
* Although the docs doesn't say very clearly, autoescape is a valid argument when constructing
|
||||
* a Template manually
|
||||
*
|
||||
* unsafe_tmpl = Template('Hello {{ name }}!')
|
||||
|
|
|
@ -32,7 +32,7 @@ class SQLInjectionConfiguration extends TaintTracking::Configuration {
|
|||
|
||||
/* Additional configuration to support tracking of DB objects. Connections, cursors, etc.
|
||||
* Without this configuration (or the LegacyConfiguration), the pattern of
|
||||
* `any(MyTaintKind k).tains(control_flow_node)` used in DbConnectionExecuteArgument would not work.
|
||||
* `any(MyTaintKind k).taints(control_flow_node)` used in DbConnectionExecuteArgument would not work.
|
||||
*/
|
||||
class DbConfiguration extends TaintTracking::Configuration {
|
||||
DbConfiguration() { this = "DB configuration" }
|
||||
|
|
|
@ -125,7 +125,7 @@ class Value extends TObject {
|
|||
result = this.(ObjectInternal).booleanValue()
|
||||
}
|
||||
|
||||
/** Gets the boolean interpretation of this value, only if we can determine the result preciely.
|
||||
/** Gets the boolean interpretation of this value, only if we can determine the result precisely.
|
||||
* The result can be `none()`, but never both `true` and `false`.
|
||||
*/
|
||||
boolean getDefiniteBooleanValue() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче