Merge pull request #2030 from jf205/python-docs-fixes

Learn QL: QL for Python doc fixes for 1.22
This commit is contained in:
shati-patel
2019-09-26 10:54:21 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -173,7 +173,7 @@ Many of the results shown will have ``cls`` as ``NoneType``. It is more informat
not cls.hasAttribute("__iter__")
select loop, cls, origin
`See this in the query console <https://lgtm.com/query/6718356557331218618/>`__. This reports the same results, but with a third column showing the source of the ``None`` values.
`See this in the query console <https://lgtm.com/query/3795352249440053606/>`__. This reports the same results, but with a third column showing the source of the ``None`` values.
Finding calls using call-graph analysis
----------------------------------------------------

View File

@@ -72,7 +72,7 @@ An ``if`` statement where one branch is composed of just ``pass`` statements cou
To find statements like this we can run the following query:
**Find ``if`` statements with empty branches**
**Find 'if' statements with empty branches**
.. code-block:: ql