Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.020 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'url:pypi': 0.03; 'class,': 0.07; 'override': 0.09; 'subject:Getting': 0.09; 'received:188.40': 0.16; 'wrote:': 0.17; 'stefan': 0.18; 'helper': 0.22; 'tend': 0.22; 'x-mailer:apple mail (2.1084)': 0.22; 'header :In-Reply-To:1': 0.23; 'creating': 0.28; 'josh': 0.29; "i'm": 0.30; 'url:python': 0.31; 'handle': 0.35; 'to:addr:python-list': 0.35; 'url:org': 0.35; 'charset:us-ascii': 0.36; 'subject:with': 0.37; 'subject:: ': 0.37; 'method': 0.39; 'to:addr:python.org': 0.39; 'easily': 0.39; 'simply': 0.60; 'header:Message-Id:1': 0.62; 'developed': 0.62; 'received:at': 0.72 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Getting lazy with decorators From: "Stefan H. Holek" In-Reply-To: <9d0c01f4-4430-4a45-8776-20d8dede9e14@googlegroups.com> Date: Sun, 24 Jun 2012 12:44:22 +0200 Content-Transfer-Encoding: quoted-printable References: <9d0c01f4-4430-4a45-8776-20d8dede9e14@googlegroups.com> To: python-list@python.org X-Mailer: Apple Mail (2.1084) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1340535958 news.xs4all.nl 6861 [2001:888:2000:d::a6]:50095 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:24390 On 24.06.2012, at 03:58, Josh English wrote: > I'm creating a cmd.Cmd class, and I have developed a helper method to = easily handle help_xxx methods. When I need custom help processing I tend to simply override do_help(). Stefan http://pypi.python.org/pypi/kmd --=20 Stefan H. Holek stefan@epy.co.at