Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
distutils.tests.test_register.FakeOpener Class Reference
Inheritance diagram for distutils.tests.test_register.FakeOpener:
Inheritance graph
Collaboration diagram for distutils.tests.test_register.FakeOpener:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __call__
def open
def read

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Fakes a PyPI server

Definition at line 51 of file

Constructor & Destructor Documentation

Definition at line 53 of file

00054     def __init__(self):
00055         self.reqs = []

Here is the caller graph for this function:

Member Function Documentation

Definition at line 56 of file

00057     def __call__(self, *args):
00058         return self

Definition at line 59 of file

00060     def open(self, req):
00061         self.reqs.append(req)
00062         return self

Definition at line 63 of file

00064     def read(self):
00065         return 'xxx'

Here is the caller graph for this function:

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.

Definition at line 54 of file

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