Commit d2b434af authored by Andreas Jung's avatar Andreas Jung

Collector #1097: added __call__ method

parent c0fa62a1
# #
# $Id: ZReST.py,v 1.7 2003/07/06 10:44:11 andreasjung Exp $ # $Id: ZReST.py,v 1.8 2003/11/04 16:03:04 andreasjung Exp $
# #
''' ReStructuredText Product for Zope ''' ReStructuredText Product for Zope
...@@ -262,6 +262,8 @@ class ZReST(Item, PropertyManager, Historical, Implicit, Persistent): ...@@ -262,6 +262,8 @@ class ZReST(Item, PropertyManager, Historical, Implicit, Persistent):
''' '''
return self.quotedHTML(self.source) return self.quotedHTML(self.source)
def __call__ = __str__
def PrincipiaSearchSource(self): def PrincipiaSearchSource(self):
''' Support for searching - the document's contents are searched. ''' Support for searching - the document's contents are searched.
''' '''
......
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