mirror of
https://github.com/python/cpython.git
synced 2025-07-25 04:04:13 +00:00
Grammatical fixes following #d95f19892fd0
This commit is contained in:
parent
ea1cf87030
commit
7e93c84438
1 changed files with 4 additions and 4 deletions
|
@ -81,7 +81,7 @@ have to import a function instead of using a built-in one, but otherwise the
|
||||||
overall transformation should not feel foreign to you.
|
overall transformation should not feel foreign to you.
|
||||||
|
|
||||||
But you should aim for only supporting Python 2.7. Python 2.6 is no longer
|
But you should aim for only supporting Python 2.7. Python 2.6 is no longer
|
||||||
freely upported and thus is not receiving bugfixes. This means **you** will have
|
freely supported and thus is not receiving bugfixes. This means **you** will have
|
||||||
to work around any issues you come across with Python 2.6. There are also some
|
to work around any issues you come across with Python 2.6. There are also some
|
||||||
tools mentioned in this HOWTO which do not support Python 2.6 (e.g., Pylint_),
|
tools mentioned in this HOWTO which do not support Python 2.6 (e.g., Pylint_),
|
||||||
and this will become more commonplace as time goes on. It will simply be easier
|
and this will become more commonplace as time goes on. It will simply be easier
|
||||||
|
@ -107,9 +107,9 @@ to, you will want to make sure your test suite has good coverage. A good rule of
|
||||||
thumb is that if you want to be confident enough in your test suite that any
|
thumb is that if you want to be confident enough in your test suite that any
|
||||||
failures that appear after having tools rewrite your code are actual bugs in the
|
failures that appear after having tools rewrite your code are actual bugs in the
|
||||||
tools and not in your code. If you want a number to aim for, try to get over 80%
|
tools and not in your code. If you want a number to aim for, try to get over 80%
|
||||||
coverage (and don't feel bad if you can't easily get passed 90%). If you
|
coverage (and don't feel bad if you find it hard to get better than 90%
|
||||||
don't already have a tool to measure test coverage then coverage.py_ is
|
coverage). If you don't already have a tool to measure test coverage then
|
||||||
recommended.
|
coverage.py_ is recommended.
|
||||||
|
|
||||||
|
|
||||||
Learn the differences between Python 2 & 3
|
Learn the differences between Python 2 & 3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue