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: Minor error in the Library Reference doc
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: cjwhrh, nnorwitz
Priority: normal Keywords:

Created on 2005-10-10 21:21 by cjwhrh, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg26549 - (view) Author: Colin J. Williams (cjwhrh) Date: 2005-10-10 21:21
The function "module" in the module new says:
module( name) 

This function returns a new module object with name
name. name must be a string. 

The doc string says:

C:\Python24\Lib\site-packages\scipy>python
Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310
32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for
more information.
>>> from new import module
>>> module.__doc__
'module(name[, doc])\n\nCreate a module object.\nThe
name must be a string; the optional doc argumen
t can have any type.'
>>>
msg26550 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2005-10-11 03:24
Logged In: YES 
user_id=33168

Thanks.

Checked in as:
 * Doc/lib/libnew.tex 1.11, 1.10.2.1
History
Date User Action Args
2022-04-11 14:56:13adminsetgithub: 42464
2005-10-10 21:21:39cjwhrhcreate