ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/TemplateModule.py
Revision: 1.6
Committed: Thu Nov 20 13:07:31 2003 UTC (20 years, 5 months ago) by ajm
Content type: text/x-python
Branch: MAIN
Changes since 1.5: +10 -6 lines
Log Message:
differentiated between class and module constants.
added section for module exceptions.
removed module attributes - baaaa'd.
explicitly stated that class attributes should be private.

File Contents

# Content
1 #
2 # i-scream central monitoring system
3 # http://www.i-scream.org
4 # Copyright (C) 2000-2003 i-scream
5 #
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; either version 2
9 # of the License, or (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 #
20
21 """Module one line description...
22 <detail>...
23
24 """
25
26 # $Id: TemplateModule.py,v 1.5 2003/11/19 00:09:09 ajm Exp $
27 # $Source: /cvs/i-scream/cms/source/TemplateModule.py,v $
28 __version__ = "$Revision: 1.5 $"
29
30 #---IMPORTS---
31
32 #---MODULE CONSTANTS---
33
34 #---EXCEPTIONS---
35
36 #---CLASSES---
37
38 #<CLASS>
39 class TemplateClass:
40 """Class one line description...
41 <detail>
42 """
43
44 #---CLASS CONSTANTS---
45
46 #---CONSTRUCTORS---
47
48 def __init__(self):
49 pass
50
51 #---PUBLIC METHODS---
52
53 #---PRIVATE METHODS---
54
55 #---ACCESSOR/MUTATOR METHODS---
56
57 #---PRIVATE ATTRIBUTES---
58
59 #</CLASS>
60
61 #---MODULE METHODS---
62
63 #---MODULE INSTANTIATION/TESTING---
64
65 def main():
66 """Main one line description...
67 <detail>
68 """
69 pass
70
71 if __name__ == "__main__":
72 main()