Skip to content

Commit

Permalink
Typos and small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hroncok committed May 1, 2017
1 parent 476f908 commit 8789525
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/etc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ The exact mechanism had two major drawbacks:
* Bytecode is not compatible across Python versions.
If the same module was being imported by different versions of Python,
each would overwrite the ``.pyc`` file with its own flavor of bytecode on
import. This would invalidating the cache for all other versions.
import. This would invalidate the cache for all other versions.
* The ``.pyc`` cache could be used even without a corresponding ``.py`` file,
which allowed some space saving (by distributing only the compiled file).
However, if one deleted a ``.py`` file but forgot to also remove the ``.pyc``,
Expand Down
2 changes: 1 addition & 1 deletion source/process.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,5 @@ Python 3-compatible version.
For less conservative projects, dropping Python 2 support will include
removing compatibility workarounds.

Targetting Python 3 only this will enable you start using all the new
Targeting Python 3 only will enable you start using all the new
features in the new major version – but those are for another guide.
2 changes: 1 addition & 1 deletion source/strings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ results), while a Python 3 version will involve more thought and code.

You might discover mistakes in how the Python 2 version processes strings.
In these cases, it might be a good idea to enable new tests for Python 3 only:
if some bugs in edge casessurvived so far, they can probably live until
if some bugs in edge cases survived so far, they can probably live until
Python 2 is retired. Apply your own judgement.

Things to test follow.
Expand Down

0 comments on commit 8789525

Please sign in to comment.