Back to index

plone3  3.1.7
Public Member Functions | Private Attributes
CMFCore.tests.test_FSPythonScript.WarnMe Class Reference
Inheritance diagram for CMFCore.tests.test_FSPythonScript.WarnMe:
Inheritance graph
Collaboration diagram for CMFCore.tests.test_FSPythonScript.WarnMe:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __call__

Private Attributes


Detailed Description

Emits a UserWarning when called

Definition at line 280 of file

Constructor & Destructor Documentation

def CMFCore.tests.test_FSPythonScript.WarnMe.__init__ (   self,

Definition at line 283 of file

00284     def __init__(self, stacklevel):
00285         self._stacklevel = stacklevel

Member Function Documentation

Definition at line 286 of file

00287     def __call__(self):
00288         import warnings
00289         warnings.warn('foo', stacklevel=self._stacklevel)

Here is the caller graph for this function:

Member Data Documentation

Definition at line 284 of file

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