Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ functionality provided by the two base classes does not overlap, as shown in cla
</example>
<references>

<li>Python Language Reference: <a href="https://docs.python.org/2/reference/datamodel.html">Data model</a>.</li>
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/datamodel.html">Data model</a>.</li>
<li>Python releases: <a href="https://www.python.org/download/releases/2.3/mro/">The Python 2.3 Method Resolution Order</a>.</li>
<li>Wikipedia: <a href="https://en.wikipedia.org/wiki/C3_linearization">C3 linearization</a>.</li>
<li>Wikipedia: <a href="http://en.wikipedia.org/wiki/Composition_over_inheritance">Composition over inheritance</a>.</li>
Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Classes/ShouldBeContextManager.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ updated to use a context manager.</p>
<li>Effbot: <a href="https://web.archive.org/web/20201012110738/http://effbot.org/zone/python-with-statement.htm">Python with statement</a>.</li>
<li>Python Standard Library: <a href="http://docs.python.org/library/stdtypes.html#context-manager-types">Context manager
</a>.</li>
<li>Python Language Reference: <a href="http://docs.python.org/2.7/reference/datamodel.html#with-statement-context-managers">
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/datamodel.html#with-statement-context-managers">
With Statement Context Managers</a>.</li>
<li>Python PEP 343: <a href="http://www.python.org/dev/peps/pep-0343">The "with" Statement</a>.</li>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ specified or whether the wrong class has been specified.

<references>

<li>Python Glossary: <a href="https://docs.python.org/2/glossary.html#term-argument">Arguments</a>.</li>
<li>Python Glossary: <a href="https://docs.python.org/3/glossary.html#term-argument">Arguments</a>.</li>
<li>Python Glossary: <a href="https://docs.python.org/glossary.html#term-parameter">Parameters</a>.</li>
<li>Python Programming FAQ: <a href="https://docs.python.org/2/faq/programming.html#faq-argument-vs-parameter">
<li>Python Programming FAQ: <a href="https://docs.python.org/3/faq/programming.html#faq-argument-vs-parameter">
What is the difference between arguments and parameters?</a>.</li>
<li>The Python Language Reference: <a href="https://docs.python.org/3/reference/datamodel.html#object.__init__">Data model: object.__init__</a></li>
<li>The Python Tutorial: <a href="https://docs.python.org/3/tutorial/classes.html">Classes</a></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ The fix will then depend on the nature of the error.

<references>

<li>Python Glossary: <a href="https://docs.python.org/2/glossary.html#term-argument">Arguments</a>.</li>
<li>Python Glossary: <a href="https://docs.python.org/3/glossary.html#term-argument">Arguments</a>.</li>
<li>Python Glossary: <a href="https://docs.python.org/glossary.html#term-parameter">Parameters</a>.</li>
<li>Python Programming FAQ: <a href="https://docs.python.org/2/faq/programming.html#faq-argument-vs-parameter">
<li>Python Programming FAQ: <a href="https://docs.python.org/3/faq/programming.html#faq-argument-vs-parameter">
What is the difference between arguments and parameters?</a>.</li>
<li>The Python Language Reference: <a href="https://docs.python.org/3/reference/datamodel.html#object.__init__">Data model: object.__init__</a></li>
<li>The Python Tutorial: <a href="https://docs.python.org/3/tutorial/classes.html">Classes</a></li>
Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Expressions/CompareConstants.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This code has been unnecessary on all versions of Python released since 2003 and
</example>
<references>

<li>Python Language Reference: <a href="http://docs.python.org/2/reference/expressions.html#not-in">Comparisons</a>.</li>
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/expressions.html#comparisons">Comparisons</a>.</li>

</references>
</qhelp>
6 changes: 3 additions & 3 deletions python/ql/src/Expressions/CompareIdenticalValues.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ This makes the code difficult to understand as the reader may not be immediately
</example>
<references>

<li>Python Language Reference: <a href="http://docs.python.org/2/reference/expressions.html#not-in">Comparisons</a>.</li>
<li>Python Library Reference: <a href="https://docs.python.org/2/library/math.html#math.isnan">math.isnan()</a>.</li>
<li>Python Library Reference: <a href="https://docs.python.org/2/library/cmath.html#cmath.isnan">cmath.isnan()</a>.</li>
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/expressions.html#comparisons">Comparisons</a>.</li>
<li>Python Library Reference: <a href="https://docs.python.org/3/library/math.html#math.isnan">math.isnan()</a>.</li>
<li>Python Library Reference: <a href="https://docs.python.org/3/library/cmath.html#cmath.isnan">cmath.isnan()</a>.</li>


</references>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ or similar.</p>
</example>
<references>

<li>Python Language Reference: <a href="http://docs.python.org/2/reference/expressions.html#not-in">Comparisons</a>.</li>
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/expressions.html#comparisons">Comparisons</a>.</li>

</references>
</qhelp>
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ second test will always be false, and the function <code>_compare</code> will on

<references>

<li>Python Language Reference: <a href="http://docs.python.org/2/reference/expressions.html#not-in">Comparisons</a>.</li>
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/expressions.html#comparisons">Comparisons</a>.</li>

</references>
</qhelp>
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ In the following example the formatting uses both implicit, <code>{}</code>, and
</example>
<references>

<li>Python Library Reference: <a href="https://docs.python.org/2/library/string.html#string-formatting">String Formatting.</a> </li>
<li>Python Library Reference: <a href="https://docs.python.org/3/library/string.html#format-string-syntax">String Formatting.</a> </li>


</references>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The third argument should be deleted.</p>
</example>
<references>

<li>Python Library Reference: <a href="https://docs.python.org/2/library/string.html#string-formatting">String Formatting.</a> </li>
<li>Python Library Reference: <a href="https://docs.python.org/3/library/string.html#format-string-syntax">String Formatting.</a> </li>

</references>
</qhelp>
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Check that the format string is correct and then remove any surplus keyword argu
</example>
<references>

<li>Python Library Reference: <a href="https://docs.python.org/2/library/string.html#string-formatting">String Formatting.</a> </li>
<li>Python Library Reference: <a href="https://docs.python.org/3/library/string.html#format-string-syntax">String Formatting.</a> </li>


</references>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Adding a keyword parameter named <code>eggs</code> would fix this.
</example>
<references>

<li>Python Library Reference: <a href="https://docs.python.org/2/library/string.html#string-formatting">String Formatting.</a> </li>
<li>Python Library Reference: <a href="https://docs.python.org/3/library/string.html#format-string-syntax">String Formatting.</a> </li>

</references>
</qhelp>
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ which is insufficient for the format string used. To fix this a third parameter
</example>
<references>

<li>Python Library Reference: <a href="https://docs.python.org/2/library/string.html#string-formatting">String Formatting.</a> </li>
<li>Python Library Reference: <a href="https://docs.python.org/3/library/string.html#format-string-syntax">String Formatting.</a> </li>

</references>
</qhelp>
2 changes: 1 addition & 1 deletion python/ql/src/Expressions/HashedButNoHash.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ as a key in a mapping which will fail with a <code>TypeError</code>.
<li>Python Standard Library: <a href="http://docs.python.org/library/functions.html#hash">hash</a>.</li>
<li>Python Language Reference: <a href="http://docs.python.org/reference/datamodel.html#object.__hash__">object.__hash__</a>.</li>
<li>Python Standard Library: <a href="http://docs.python.org/library/stdtypes.html#mapping-types-dict">Mapping Types &mdash; dict</a>.</li>
<li>Python Standard Library: <a href="http://docs.python.org/2/library/stdtypes.html#set-types-set-frozenset">Set Types &mdash; set, frozenset</a>.</li>
<li>Python Standard Library: <a href="https://docs.python.org/3/library/stdtypes.html#set-types-set-frozenset">Set Types &mdash; set, frozenset</a>.</li>

</references>
</qhelp>
4 changes: 2 additions & 2 deletions python/ql/src/Expressions/NonCallableCalled.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ which will fail with a <code>TypeError</code>.
</example>
<references>

<li>Python Standard Library: <a href="http://docs.python.org/2/library/functions.html#callable">callable</a>.</li>
<li>Python Language Reference: <a href="http://docs.python.org/2/reference/datamodel.html#object.__call__">object.__call__</a>.</li>
<li>Python Standard Library: <a href="https://docs.python.org/3/library/functions.html#callable">callable</a>.</li>
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/datamodel.html#object.__call__">object.__call__</a>.</li>

</references>
</qhelp>
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ To function correctly for all implementations, change the expression <code>x is
</example>
<references>

<li>Python Standard Library: <a href="http://docs.python.org/2/library/stdtypes.html#comparisons">Comparisons</a>.</li>
<li>Python Standard Library: <a href="https://docs.python.org/3/library/stdtypes.html#comparisons">Comparisons</a>.</li>
<li>Stack Overflow: <a href="http://stackoverflow.com/questions/306313/python-is-operator-behaves-unexpectedly-with-integers">Python "is" operator behaves unexpectedly with integers</a>.</li>

</references>
Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Expressions/UnnecessaryLambda.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ call_with_x_squared</code>.</p>
</example>
<references>

<li>Python: <a href="http://docs.python.org/2.7/reference/expressions.html#lambda">lambdas</a>.</li>
<li>Python: <a href="https://docs.python.org/3/reference/expressions.html#lambdas">lambdas</a>.</li>

</references>
</qhelp>
4 changes: 2 additions & 2 deletions python/ql/src/Expressions/WrongNameForArgumentInCall.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ specified or whether the wrong function (or method) has been specified.
</recommendation>
<references>

<li>Python Glossary: <a href="https://docs.python.org/2/glossary.html#term-argument">Arguments</a>.</li>
<li>Python Glossary: <a href="https://docs.python.org/3/glossary.html#term-argument">Arguments</a>.</li>
<li>Python Glossary: <a href="https://docs.python.org/glossary.html#term-parameter">Parameters</a>.</li>
<li>Python Programming FAQ: <a href="https://docs.python.org/2/faq/programming.html#faq-argument-vs-parameter">
<li>Python Programming FAQ: <a href="https://docs.python.org/3/faq/programming.html#faq-argument-vs-parameter">
What is the difference between arguments and parameters?</a>.</li>


Expand Down
4 changes: 2 additions & 2 deletions python/ql/src/Expressions/WrongNumberArgumentsInCall.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ The fix will then depend on the nature of the error.
</recommendation>
<references>

<li>Python Glossary: <a href="https://docs.python.org/2/glossary.html#term-argument">Arguments</a>.</li>
<li>Python Glossary: <a href="https://docs.python.org/3/glossary.html#term-argument">Arguments</a>.</li>
<li>Python Glossary: <a href="https://docs.python.org/glossary.html#term-parameter">Parameters</a>.</li>
<li>Python Programming FAQ: <a href="https://docs.python.org/2/faq/programming.html#faq-argument-vs-parameter">
<li>Python Programming FAQ: <a href="https://docs.python.org/3/faq/programming.html#faq-argument-vs-parameter">
What is the difference between arguments and parameters?</a>.</li>


Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Functions/ExplicitReturnInInit.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ object. This is an error and the return method should be removed.</p>
</example>
<references>

<li>Python: <a href="http://docs.python.org/2.7/reference/datamodel.html#object.__init__">The __init__ method</a>.</li>
<li>Python: <a href="https://docs.python.org/3/reference/datamodel.html#object.__init__">The __init__ method</a>.</li>

</references>
</qhelp>
2 changes: 1 addition & 1 deletion python/ql/src/Functions/NonCls.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ in PEP 8.</p>
<references>

<li>Python PEP 8: <a href="http://www.python.org/dev/peps/pep-0008/#function-and-method-arguments">Function and method arguments</a>.</li>
<li>Python Tutorial: <a href="http://docs.python.org/2/tutorial/classes.html">Classes</a>.</li>
<li>Python Tutorial: <a href="https://docs.python.org/3/tutorial/classes.html">Classes</a>.</li>
<li>Python Docs: <a href="https://docs.python.org/3/library/functions.html#classmethod">classmethod</a>.</li>


Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Functions/NonSelf.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ in PEP 8.</p>

<li>Python PEP 8: <a href="http://www.python.org/dev/peps/pep-0008/#function-and-method-arguments">Function and
method arguments</a>.</li>
<li>Python Tutorial: <a href="http://docs.python.org/2/tutorial/classes.html">Classes</a>.</li>
<li>Python Tutorial: <a href="https://docs.python.org/3/tutorial/classes.html">Classes</a>.</li>
<li>Python Docs: <a href="https://docs.python.org/3/library/functions.html#staticmethod">staticmethod</a>.</li>


Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Functions/ReturnConsistentTupleSizes.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</example>
<references>

<li>Python Language Reference: <a href="http://docs.python.org/2/reference/compound_stmts.html#function">Function definitions</a>.
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/compound_stmts.html#function-definitions">Function definitions</a>.
</li>


Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Functions/ReturnValueIgnored.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The <code>do_not_ignore_error</code> function checks the error condition and rai
</example>
<references>

<li>Python Language Reference: <a href="http://docs.python.org/2/reference/compound_stmts.html#function">Function definitions</a>.
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/compound_stmts.html#function-definitions">Function definitions</a>.
</li>

</references>
Expand Down
4 changes: 2 additions & 2 deletions python/ql/src/Imports/CyclicImport.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import that.
<references>


<li>Python Language Reference: <a href="http://docs.python.org/2/reference/simple_stmts.html#import">The import statement</a>.</li>
<li>Python: <a href="http://docs.python.org/2/tutorial/modules.html">Modules</a>.</li>
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/simple_stmts.html#the-import-statement">The import statement</a>.</li>
<li>Python: <a href="https://docs.python.org/3/tutorial/modules.html">Modules</a>.</li>
<li> Effbot: <a href="https://web.archive.org/web/20200917011425/https://effbot.org/zone/import-confusion.htm">Import Confusion</a>.</li>


Expand Down
4 changes: 2 additions & 2 deletions python/ql/src/Imports/FromImportOfMutableAttribute.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ The problem can be fixed by rewriting the first module to import the <code>sys</

<references>

<li>Python Language Reference: <a href="http://docs.python.org/2/reference/simple_stmts.html#import">The import statement</a>.</li>
<li>Python Tutorial: <a href="http://docs.python.org/2/tutorial/modules.html">Modules</a>.</li>
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/simple_stmts.html#the-import-statement">The import statement</a>.</li>
<li>Python Tutorial: <a href="https://docs.python.org/3/tutorial/modules.html">Modules</a>.</li>


</references>
Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Imports/ImportStarUsed.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Use explicit imports. For example <code>from xxx import a, b, c</code>
<references>


<li>Python Language Reference: <a href="http://docs.python.org/2/reference/simple_stmts.html#import">The import statement</a>.</li>
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/simple_stmts.html#the-import-statement">The import statement</a>.</li>
<li>Python PEP-8: <a href="http://www.python.org/dev/peps/pep-0008/#imports">Imports</a>.</li>


Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Imports/ImportandImportFrom.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ Add <code>yyy = xxx.yyy</code> if required.</p>

</example>
<references>
<li>Python Language Reference: <a href="http://docs.python.org/2/reference/simple_stmts.html#import">The import statement</a>.</li>
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/simple_stmts.html#the-import-statement">The import statement</a>.</li>
</references>
</qhelp>
2 changes: 1 addition & 1 deletion python/ql/src/Imports/Imports.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ acceptable to define multiple imports from a subprocess in a single statement.</
</example>
<references>

<li>Python Language Reference: <a href="http://docs.python.org/2/reference/simple_stmts.html#import">The import statement</a>.</li>
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/simple_stmts.html#the-import-statement">The import statement</a>.</li>
<li>Python PEP 8: <a href="http://www.python.org/dev/peps/pep-0008/#imports">Imports</a>.</li>

</references>
Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Imports/ModuleImportsItself.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ referencing the module it is in as well.</p>
</example>
<references>

<li>Python: <a href="http://docs.python.org/2/tutorial/modules.html">Modules</a>.</li>
<li>Python: <a href="https://docs.python.org/3/tutorial/modules.html">Modules</a>.</li>

</references>
</qhelp>
4 changes: 2 additions & 2 deletions python/ql/src/Imports/ModuleLevelCyclicImport.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import that.
<references>


<li>Python Language Reference: <a href="http://docs.python.org/2/reference/simple_stmts.html#import">The import statement</a>.</li>
<li>Python: <a href="http://docs.python.org/2/tutorial/modules.html">Modules</a>.</li>
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/simple_stmts.html#the-import-statement">The import statement</a>.</li>
<li>Python: <a href="https://docs.python.org/3/tutorial/modules.html">Modules</a>.</li>
<li> Effbot: <a href="https://web.archive.org/web/20200917011425/https://effbot.org/zone/import-confusion.htm">Import Confusion</a>.</li>


Expand Down
4 changes: 2 additions & 2 deletions python/ql/src/Imports/UnintentionalImport.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ could replace <code>from finance import *</code> with <code>from finance import
</example>
<references>

<li>Python Language Reference: <a href="http://docs.python.org/2/reference/simple_stmts.html#import">The import statement</a>.
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/simple_stmts.html#the-import-statement">The import statement</a>.
</li>
<li>Python Tutorial: <a href="http://docs.python.org/2/tutorial/modules.html">Modules</a>.</li>
<li>Python Tutorial: <a href="https://docs.python.org/3/tutorial/modules.html">Modules</a>.</li>



Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Metrics/DirectImports.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ well-defined role.</p>
</recommendation>
<references>

<li>Python Language Reference: <a href="http://docs.python.org/2/reference/simple_stmts.html#import">The import statement</a>.
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/simple_stmts.html#the-import-statement">The import statement</a>.
</li><li>M. Fowler, <em>Refactoring</em>. Addison-Wesley, 1999.</li>
<li>Wikipedia: <a href="https://en.wikipedia.org/wiki/Code_refactoring">Code refactoring</a>.</li>

Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Metrics/FClasses.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ then you should refactor the code and create new files, each containing logicall
</recommendation>
<references>

<li>Python: <a href="http://docs.python.org/2/reference/compound_stmts.html#class-definitions">Class
<li>Python: <a href="https://docs.python.org/3/reference/compound_stmts.html#class-definitions">Class
Definitions</a>.</li>
<li>M. Fowler, <em>Refactoring</em>. Addison-Wesley, 1999.</li>
<li>Wikipedia: <a href="https://en.wikipedia.org/wiki/Code_refactoring">Code refactoring</a>.</li>
Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Metrics/FFunctionsAndMethods.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ the file according to these tasks.</p>
</recommendation>
<references>

<li>Python: <a href="http://docs.python.org/2/reference/compound_stmts.html#function">Function Definitions</a>.</li>
<li>Python: <a href="https://docs.python.org/3/reference/compound_stmts.html#function-definitions">Function Definitions</a>.</li>
<li>M. Fowler, <em>Refactoring</em>. Addison-Wesley, 1999.</li>
<li>Wikipedia: <a href="https://en.wikipedia.org/wiki/Code_refactoring">Code refactoring</a>.</li>

Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Metrics/FNumberOfTests.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<references>

<li>Python Standard Library: <a href="https://docs.python.org/library/unittest.html">unitest</a>.</li>
<li>Python Standard Library: <a href="https://docs.python.org/2/library/doctest.html">doctest</a>.</li>
<li>Python Standard Library: <a href="https://docs.python.org/3/library/doctest.html">doctest</a>.</li>
<li><a href="http://pytest.org/latest/">http://pytest.org</a>.</li>
<li>Read the docs: <a href="http://nose.readthedocs.org/en/latest/">http://nose.readthedocs.org/en/latest</a>.</li>

Expand Down
2 changes: 1 addition & 1 deletion python/ql/src/Metrics/TransitiveImports.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ well-defined role.</p>
</recommendation>
<references>

<li>Python Language Reference: <a href="http://docs.python.org/2/reference/simple_stmts.html#import">The import statement</a>.
<li>Python Language Reference: <a href="https://docs.python.org/3/reference/simple_stmts.html#the-import-statement">The import statement</a>.
</li><li>M. Fowler, <em>Refactoring</em>. Addison-Wesley, 1999.</li>
<li>Wikipedia: <a href="https://en.wikipedia.org/wiki/Code_refactoring">Code refactoring</a>.</li>

Expand Down
Loading