Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21500
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <sorsorday@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.060 |
| X-Spam-Evidence | '*H*': 0.88; '*S*': 0.00; 'subject:method': 0.09; 'def': 0.13; '80)': 0.16; 'subject:break': 0.16; 'stick': 0.18; 'trying': 0.21; 'received:209.85.210.174': 0.21; 'received:mail- iy0-f174.google.com': 0.21; '(or': 0.22; 'works.': 0.23; 'work,': 0.28; 'described': 0.28; 'pass': 0.29; 'message- id:@mail.gmail.com': 0.29; 'subject:?': 0.31; 'does': 0.32; 'that,': 0.32; 'it?': 0.33; 'test': 0.34; 'rule': 0.34; 'to:addr :python-list': 0.35; 'subject:How': 0.35; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'characters': 0.39; 'received:209': 0.39; 'expected': 0.40; 'to:addr:python.org': 0.40; 'subject:name': 0.67; 'subject:one': 0.77; 'subject:long': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Z8AtNkrVA/skZQtHWZoN4qjhm0pd/2KLtAMWy8Skpn8=; b=FjiDRjTlZExyAmYOriDre4PldHA+FcBcfJB1P4CbQtFsMvmfitFtuXsDl4T9CybKTp sB2Gg3U47wQUimkAms8zmqWxjiS48RmcGMCOepqD9ZSGeb9mvZO+reqtbHNaYKv/Ht60 6rJjPrWd224bB5fpLHKCFhgqQ411Z0aghT1wyyS3IZwHkSBCvcobqcTkBJDhHu/Er31w fJskPA6hzzxIPG2hm3Zthsz6XjQxaHz4tzYy5MCQuFWS8Ml9S2xdkl45CmieirpjA74W GK1Sh/TGtlPWZ57L8SZNwMXsqzElwWgK1CHh5QT+LiBiza7q1NCM8q+rGSky6tVRiz2F c75g== |
| MIME-Version | 1.0 |
| Date | Sun, 11 Mar 2012 11:53:45 -0700 |
| Subject | How to break long method name into more than one line? |
| From | Herman <sorsorday@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.571.1331492028.3037.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1331492028 news.xs4all.nl 6976 [2001:888:2000:d::a6]:59477 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:21500 |
Show key headers only | View raw
I am trying to stick to the rule described in the TDD book that, each
test method name consists of the method name to be tested, inputs and
the expected outputs. It takes up a lot of space and my company has a
rule of limiting 79 characters (or 80) per line. I found that
def abcdeef\
dddaaa(self):
pass
does not work, but
def \
abcsajfoijfiawifoiwejfoi(self):
pass
works. Is this the only way to do it?
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
How to break long method name into more than one line? Herman <sorsorday@gmail.com> - 2012-03-11 11:53 -0700
Re: How to break long method name into more than one line? Roy Smith <roy@panix.com> - 2012-03-11 15:11 -0400
Re: How to break long method name into more than one line? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-03-12 00:30 +0000
Re: How to break long method name into more than one line? Roy Smith <roy@panix.com> - 2012-03-11 20:43 -0400
Re: How to break long method name into more than one line? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-03-12 12:24 -0400
Re: How to break long method name into more than one line? Chris Angelico <rosuav@gmail.com> - 2012-03-13 08:59 +1100
Re: How to break long method name into more than one line? Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-03-13 11:30 +0100
Re: How to break long method name into more than one line? Chris Angelico <rosuav@gmail.com> - 2012-03-13 21:35 +1100
csiph-web