Skip to content
Myr

Merge pull request #333 from nchammas/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

minor grammar fixes

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents 8e90f7e, 713faa0 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:docs/setuptools.rst+3 added-3 removed
11 unmodified lines
121. One of the problems with the traditional approach is that the first13 module the Python interpreter loads has an incorrect name. This might14 sound like a small issue but it has quite significant implications.1516 The first module is not called by it's actual name, but the16 The first module is not called by its actual name, but the17 interpreter renames it to ``__main__``. While that is a perfectly18 valid name it means that if another piece of code wants to import from19 that module it will trigger the import a second time under it's real20 name and all the sudden your code is imported twice.19 that module it will trigger the import a second time under its real20 name and all of a sudden your code is imported twice.21222. Not on all platforms are things that easy to execute. On Linux and OS23 X you can add a comment to the beginning of the file (``#/usr/bin/env24 python``) and your script works like an executable (assuming it has
115 unmodified lines