How to break long method name into more than one line?

Roy Smith roy at
Mon Mar 12 01:43:13 CET 2012

In article <4f5d4390$0$29891$c3e8da3$5496439d at>,
 Steven D'Aprano <steve+comp.lang.python at> wrote:

> You can't split tokens over multiple lines, or put any whitespace 
> between them.

Well, if you truly wanted to be perverse, you could write some kind of 

def x(self):
   blah, blah, blah

which creates a "test_some_very_long_list_of_token_fragments" method.  
But it would be a lot easier to just use sane method names.

More information about the Python-list mailing list