Commit bab68686 authored by Hanno Schlichting's avatar Hanno Schlichting

Added a docstring, noting the class variable restriction.

parent 8dd857c5
##############################################################################
#
# Copyright (c) 2004, 2005 Zope Corporation and Contributors.
# All Rights Reserved.
......@@ -30,6 +29,8 @@ def getEngine():
return _engine
class ViewPageTemplateFile(viewpagetemplatefile.ViewPageTemplateFile):
"""Page Template used as class variable of views defined as Python classes.
"""
def getId(self):
return basename(self.filename)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment