[docs] 'Bug' in modules tutorial

Wenceslao Grillo wgrillo at wences.com.ar
Mon Jan 30 17:08:23 CET 2012


  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.

Congrats again! Regards:

     Wences
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20120130/df533bc5/attachment.html>


More information about the docs mailing list