[ python-Bugs-1100368 ] Wrong "type()" syntax in docs
SourceForge.net
noreply at sourceforge.net
Tue Jan 11 20:03:09 CET 2005
Bugs item #1100368, was opened at 2005-01-11 16:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1100368&group_id=5470
Category: Documentation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Facundo Batista (facundobatista)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wrong "type()" syntax in docs
Initial Comment:
>From the current docs:
type(object):
Return the type of an object. The return value
is a type object.
>From the interpreter:
>>> help(type)
Help on class type in module __builtin__:
class type(object)
| type(object) -> the object's type
| type(name, bases, dict) -> a new type
In the documentation is missing the second syntax form.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1100368&group_id=5470
More information about the Python-bugs-list
mailing list