Python: Fix typos

This commit is contained in:
Rasmus Wriedt Larsen
2020-02-17 14:34:22 +01:00
parent c1d073a54d
commit 6d5a8e4995
3 changed files with 3 additions and 3 deletions

View File

@@ -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 }}!')

View File

@@ -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" }

View File

@@ -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() {