Back to index

python3.2  3.2.2
Public Member Functions
test.test_funcattrs.StaticMethodAttrsTest Class Reference

List of all members.

Public Member Functions

def test_func_attribute

Detailed Description

Definition at line 306 of file test_funcattrs.py.


Member Function Documentation

Definition at line 307 of file test_funcattrs.py.

00307 
00308     def test_func_attribute(self):
00309         def f():
00310             pass
00311 
00312         c = classmethod(f)
00313         self.assertTrue(c.__func__ is f)
00314 
00315         s = staticmethod(f)
00316         self.assertTrue(s.__func__ is f)
00317 


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