[Zope-Checkins] SVN: Zope/branches/philikon-aq/lib/python/Products/Five/browser/pagetemplatefile.py Added a docstring, noting the class variable restriction.

Hanno Schlichting plone at hannosch.info
Thu Apr 17 06:31:06 EDT 2008


Log message for revision 85455:
  Added a docstring, noting the class variable restriction.

Changed:
  U   Zope/branches/philikon-aq/lib/python/Products/Five/browser/pagetemplatefile.py

-=-
Modified: Zope/branches/philikon-aq/lib/python/Products/Five/browser/pagetemplatefile.py
===================================================================
--- Zope/branches/philikon-aq/lib/python/Products/Five/browser/pagetemplatefile.py	2008-04-17 09:55:48 UTC (rev 85454)
+++ Zope/branches/philikon-aq/lib/python/Products/Five/browser/pagetemplatefile.py	2008-04-17 10:31:06 UTC (rev 85455)
@@ -1,4 +1,3 @@
-##############################################################################
 #
 # Copyright (c) 2004, 2005 Zope Corporation and Contributors.
 # All Rights Reserved.
@@ -30,6 +29,8 @@
     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)



More information about the Zope-Checkins mailing list