[ python-Bugs-1161476 ] Incorrect return value in gc docs

SourceForge.net noreply at sourceforge.net
Sat Mar 12 08:46:54 CET 2005


Bugs item #1161476, was opened at 2005-03-12 01:28
Message generated for change (Comment added) made by quiver
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1161476&group_id=5470

Category: Documentation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Aravind (iamfenris)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrect return value in gc docs

Initial Comment:
The document

http://www.python.org/doc/current/lib/module-gc.html

notes that gc.isenabled() returns true, while it
actually returns 1. 

The description reads:
isenabled(  	)
    Returns true if automatic collection is enabled.

Suggested correction:
isenabled(  	)
    Returns 1 if automatic collection is enabled.

HTH,
-Aravind

----------------------------------------------------------------------

Comment By: George Yoshida (quiver)
Date: 2005-03-12 16:46

Message:
Logged In: YES 
user_id=671362

This document is for Python 2.4.
  http://www.python.org/doc/current/lib/

Are you sure your Python has the same version number as 
this?
I guess you're using Python(say, 2.2) that doesn't have a built-
in bool type.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1161476&group_id=5470


More information about the Python-bugs-list mailing list