gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Simons <leosim...@apache.org>
Subject Re: cvs commit: jakarta-gump/python gumpcore.py
Date Sat, 26 Apr 2003 10:28:50 GMT
nicolaken@apache.org wrote:
>    # a stack of active xml elements
>   @@ -30,14 +32,11 @@
>        self.elementStack=[self.topOfStack]
>        parse(file,self)
>        self.docElement=self.topOfStack.element
>   -    
>      def startElement (self, name, attrs):
>        if self.topOfStack: self.topOfStack=self.topOfStack.startElement(name,attrs)
>        self.elementStack.append(self.topOfStack);
>   -    
>      def characters(self, string):
>        if self.topOfStack: self.topOfStack.characters(string)

battle of the whitespace!!! Whooh-hooh :D

In seriousness, we probably want to read

http://www.python.org/doc/essays/styleguide.html

:D

cheers,

- Leo



Mime
View raw message