Python: Address a few more review comments.

This commit is contained in:
Taus Brock-Nannestad
2020-06-25 14:19:18 +02:00
parent 1608758219
commit 4dbc8e515a
2 changed files with 3 additions and 2 deletions

View File

@@ -38,7 +38,8 @@ class ExternalData extends @externalDataElement {
/** Gets the path of the file this data was loaded from. */
string getDataPath() { externalData(this, result, _, _) }
/** Gets the path fo the file this data was loaded from, with its
/**
* Gets the path of the file this data was loaded from, with its
* extension replaced by `.ql`.
*/
string getQueryPath() { result = getDataPath().regexpReplaceAll("\\.[^.]*$", ".ql") }

View File

@@ -1,4 +1,4 @@
/** Contains the internal IPA type backing the various values tracked by the points-to implementation. */
/** Contains the internal algebraic datatype backing the various values tracked by the points-to implementation. */
import python
private import semmle.python.types.Builtins