This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: distutils example code missing imports
Type: Stage:
Components: Documentation Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: albertstrasheim, nnorwitz
Priority: normal Keywords:

Created on 2006-08-12 22:30 by albertstrasheim, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg29507 - (view) Author: Albert Strasheim (albertstrasheim) Date: 2006-08-12 22:30
The example code in the "Single extension module"
section of "Distributing Python Modules" is missing
some imports.

Both examples should import Extension in addition to
setup. Otherwise, the following error results when the
examples are executed:

NameError: name 'Extension' is not defined

There might be similar issues elsewhere in the
documentation.
msg29508 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-08-13 00:21
Logged In: YES 
user_id=33168

Thanks!

Committed revision 51240.

Let us know if you find other places in the doc that are wrong.
History
Date User Action Args
2022-04-11 14:56:19adminsetgithub: 43813
2006-08-12 22:30:42albertstrasheimcreate