From ac0430883ac25c3e45ca710c8077f11525e14fa0 Mon Sep 17 00:00:00 2001 From: yoff Date: Wed, 24 Mar 2021 01:08:12 +0100 Subject: [PATCH] Update docs/codeql/codeql-language-guides/using-api-graphs-in-python.rst Co-authored-by: Rasmus Wriedt Larsen --- .../codeql-language-guides/using-api-graphs-in-python.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/codeql/codeql-language-guides/using-api-graphs-in-python.rst b/docs/codeql/codeql-language-guides/using-api-graphs-in-python.rst index 38386f52887..ba274933d0f 100644 --- a/docs/codeql/codeql-language-guides/using-api-graphs-in-python.rst +++ b/docs/codeql/codeql-language-guides/using-api-graphs-in-python.rst @@ -31,7 +31,7 @@ following snippet demonstrates. ➤ `See this in the query console on LGTM.com `__. -This query selects the API graph node corresponding to the ``re`` module. This node represent the fact that the ``re`` module has been imported rather than a specific place in the program where the import happens. There will, therefore, be at most one result per file, and it will not have a useful location, so you have to click `Show 1 non-source result` in order to see it. +This query selects the API graph node corresponding to the ``re`` module. This node represent the fact that the ``re`` module has been imported rather than a specific place in the program where the import happens. Therefore, there will be at most one result per project, and it will not have a useful location, so you have to click `Show 1 non-source result` in order to see it. To find places in the program where the ``re`` module is referenced, you can use the ``getAUse`` method. The following query selects all references to the ``re`` module in the current database.