[docs] 'Bug' in modules tutorial

Georg Brandl georg at python.org
Sun Apr 14 11:48:10 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 30.01.2012 17:08, schrieb Wenceslao Grillo:
> Hi, guys, I'm only starting out with Python, and the docs are a great help.
> Congrats on an excelent work! Found a bug though: in
> <http://docs.python.org/tutorial/modules.html> there's a footnote that
> reads:
> 
> In fact function definitions are also ?statements? that are ?executed?;
> the execution of a module-level function enters the function name in the
> module?s global symbol table.
> 
> It seems to me it should be:
> 
> In fact function definitions are also ?statements? that are ?executed?;
> the execution of a module-level function *definition* enters the function
> name in the module?s global symbol table.

Hi Wenceslao,

thanks for your report, this is now (belatedly) fixed and will appear online soon.

cheers,
Georg

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlFqe1oACgkQN9GcIYhpnLAWgwCfXRUpFEMN6Qwtw9+JuYbxxLdQ
/pMAnA8zcWr9cIMUtMBYgvRORkFZ1IC+
=4Kbh
-----END PGP SIGNATURE-----


More information about the docs mailing list