Fix github URLs
This commit is contained in:
parent
e8d0ecf38f
commit
cd22b95028
|
@ -504,7 +504,7 @@ Usage Of ``None`` In The Standard Library
|
||||||
|
|
||||||
The previous sections show some code patterns that are claimed to be "common",
|
The previous sections show some code patterns that are claimed to be "common",
|
||||||
but how common are they? The attached script `find-pep505.py
|
but how common are they? The attached script `find-pep505.py
|
||||||
<https://github.com/python/peps/tree/master/pep-0505/find-pep505.py>`_ is meant to
|
<https://github.com/python/peps/blob/master/pep-0505/find-pep505.py>`_ is meant to
|
||||||
answer this question. It uses the ``ast`` module to search for variations of the
|
answer this question. It uses the ``ast`` module to search for variations of the
|
||||||
following patterns in any ``*.py`` file.
|
following patterns in any ``*.py`` file.
|
||||||
|
|
||||||
|
@ -577,11 +577,11 @@ The script prints out any matches it finds. Sample::
|
||||||
hand, we assume that ``and`` is always incorrect for safe navigation.
|
hand, we assume that ``and`` is always incorrect for safe navigation.
|
||||||
|
|
||||||
The script has been tested against `test.py
|
The script has been tested against `test.py
|
||||||
<https://github.com/python/peps/tree/master/pep-0505/test.py>`_ and the Python 3.4
|
<https://github.com/python/peps/blob/master/pep-0505/test.py>`_ and the Python 3.4
|
||||||
standard library, but it should work on any arbitrary Python 3 source code. The
|
standard library, but it should work on any arbitrary Python 3 source code. The
|
||||||
complete output from running it against the standard library is attached to this
|
complete output from running it against the standard library is attached to this
|
||||||
proposal as
|
proposal as
|
||||||
`find-pep505.out <https://github.com/python/peps/tree/master/tip/pep-0505/find-pep505.out>`_.
|
`find-pep505.out <https://github.com/python/peps/blob/master/pep-0505/find-pep505.out>`_.
|
||||||
|
|
||||||
The script counts how many matches it finds and prints the totals at the
|
The script counts how many matches it finds and prints the totals at the
|
||||||
end::
|
end::
|
||||||
|
|
Loading…
Reference in New Issue