How many non-class/function defs are legal Python?

are there more than ``comment`` and ``declaration``?

How about a hint about node contents in the headline, like:

declaration <s1 = "s1">
\
  s1 = "s1"
  inifile = "/my/ini/file"

comment <# Houston, we have ... >
\
 # Houston, we have a problem, the following doesn't work
 # FIXME


On Tue, Jun 15, 2010 at 9:56 AM, Terry Brown <[email protected]> wrote:
> On Tue, 15 Jun 2010 09:51:01 -0500
> "Edward K. Ream" <[email protected]> wrote:
>
>> I agree, I think.  A typical pattern is:
>>
>> def abc():
>>     ...
>>
>> synonymForAbc = abc
>>
>> OTOH,  comments probably belong to the following def.
>
> thingyClass = Foo
>
> def abc(self):
>
>   self.thingy = thingyClass()
>
> your example is probably more common, but it can go either way.  I think 
> everything in its own node and if people don't like it they can use @shadow 
> or @thin (unless @thin is @file now, in which case @file :-)
>
> Cheers -Terry
>
> --
> You received this message because you are subscribed to the Google Groups 
> "leo-editor" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/leo-editor?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to