Break line across lines (not in '[]' or '{}')?

Robert Oschler no_replies at fake_email_address.invalid
Tue Jun 10 16:19:09 EDT 2003


I have a Class with a lot of fields in the __slots__ attribute.  Is there a
way to break the line across multiple lines?

Class HasSlots():
    __slots__ = 'one', 'two', 'three'
    ...

I'd like to do:

Class HasSlots():
    __slots__ = 'one', 'two', 'three'
    ...

    but this produces a syntax error.

thx

--



Robert Oschler,
Android Technologies, Inc.
http://www.androidtechnologies.com
- The home of Off-Book! (tm)
The scene memorization tool for Actors and Actresses!







More information about the Python-list mailing list