Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_iterlen.BadLengthHint Class Reference
Inheritance diagram for test.test_iterlen.BadLengthHint:
Inheritance graph
[legend]
Collaboration diagram for test.test_iterlen.BadLengthHint:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __iter__
def __length_hint__

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 206 of file test_iterlen.py.


Member Function Documentation

Definition at line 207 of file test_iterlen.py.

00207 
    def __iter__(self): return iter(range(10))

Definition at line 208 of file test_iterlen.py.

00208 
00209     def __length_hint__(self):
00210         raise RuntimeError('hello')


Member Data Documentation

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.


The documentation for this class was generated from the following file: