Project

General

Profile

« Previous | Next » 

Revision 2359

Added objects.py

View differences:

lib/objects.py
1
# Objects
2

  
3
class BasicObject:
4
    '''Provides default implementations of commonly-used methods'''
5
    
6
    def __str__(self): return util.class_name(self)+repr(self.__dict__)
7
    
8
    def __repr__(self): return str(self)

Also available in: Unified diff