/[gnue]/gnue-common/src/logic/NamespaceCore.py
ViewVC logotype

Diff of /gnue-common/src/logic/NamespaceCore.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by jcater, Mon Feb 17 07:32:50 2003 UTC revision 1.3 by siesel, Fri Sep 19 23:44:44 2003 UTC
# Line 217  class NamespaceElement(GObj): Line 217  class NamespaceElement(GObj):
217        return ""        return ""
218    
219    #    #
220      # __str__
221      #
222      # This executes at a different level than the __setattr__
223      # While __setattr__ is executed in the parent object to protect
224      # it's namespace object links, this routine is called by the
225      # object referenced
226      #
227      # Example: foo = int(form.block1.entry1)
228      #
229      # This __int__ would execute against the entry1 object
230      #
231      def __int__(self):
232        if self._triggerGet:
233          return int(self._triggerGet())
234        else:
235          return 0
236    
237      #
238    # __cmp__    # __cmp__
239    #    #
240    # Forces the system to compare the string values of    # Forces the system to compare the string values of

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26