Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9205

Re: Function docstring as a local variable

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <tim@johnsons-web.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python': 0.08; 'foo': 0.09; 'question:': 0.09; 'received:64.4': 0.09; 'subject:Function': 0.09; 'wrote:': 0.15; 'docstring': 0.16; 'module:': 0.16; 'presuming': 0.16; 'subject:variable': 0.16; 'templating': 0.16; '>>>': 0.16; 'phrase': 0.19; 'header:In-Reply- To:1': 0.22; 'sunday,': 0.23; "i'm": 0.27; 'import': 0.29; 'variables': 0.29; 'module': 0.30; 'carl': 0.30; 'imported': 0.30; 'thanks': 0.31; 'print': 0.32; 'too': 0.32; 'to:addr:python-list': 0.34; 'header:User-Agent:1': 0.34; '...': 0.34; 'johnson': 0.35; 'charset:us-ascii': 0.36; 'beginning': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'where': 0.40; 'subject': 0.62; 'july': 0.64; 'subject:local': 0.84
Date Sun, 10 Jul 2011 16:00:54 -0800
From Tim Johnson <tim@johnsons-web.com>
To python-list@python.org
Subject Re: Function docstring as a local variable
References <mailman.857.1310338213.1164.python-list@python.org> <e44a7596-d01f-484b-9802-1e97fbbcf30f@glegroupsg2000goo.googlegroups.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <e44a7596-d01f-484b-9802-1e97fbbcf30f@glegroupsg2000goo.googlegroups.com>
User-Agent Mutt/1.5.20 (2009-06-14)
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.865.1310342448.1164.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1310342448 news.xs4all.nl 21880 [2001:888:2000:d::a6]:55581
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:9205

Show key headers only | View raw


* Carl Banks <pavlovevidence@gmail.com> [110710 15:18]:
> On Sunday, July 10, 2011 3:50:18 PM UTC-7, Tim Johnson wrote:
> >   Here's a related question:
> >   I can get the docstring for an imported module:
> >   >>> import tmpl as foo
> >   >>> print(foo.__doc__)
> >   Python templating features
> > 
> >    Author - tim at akwebsoft dot com
> > 
> >  ## Is it possible to get the module docstring
> >  ## from the module itself?
> 
> 
> print __doc__
  Thanks Carl. 
  
  Where is general documentation on the subject of variables
  beginning with 2 underscores? 
  
  I'm presuming the key phrase is 'builtin variables'. I'm searching
  too ...

-- 
Tim 
tim at johnsons-web dot com or akwebsoft dot com
http://www.akwebsoft.com

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Function docstring as a local variable Carl Banks <pavlovevidence@gmail.com> - 2011-07-10 15:59 -0700
  Re: Function docstring as a local variable Corey Richardson <kb1pkl@aim.com> - 2011-07-10 19:06 -0400
    Re: Function docstring as a local variable alex23 <wuwei23@gmail.com> - 2011-07-10 21:14 -0700
  Re: Function docstring as a local variable Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-10 18:27 -0500
  Re: Function docstring as a local variable Tim Johnson <tim@johnsons-web.com> - 2011-07-10 16:00 -0800
  Re: Function docstring as a local variable Chris Rebert <clp2@rebertia.com> - 2011-07-10 17:09 -0700
  Re: Function docstring as a local variable Chris Rebert <clp2@rebertia.com> - 2011-07-10 17:16 -0700
  Re: Function docstring as a local variable Tim Johnson <tim@johnsons-web.com> - 2011-07-10 16:21 -0800
  Re: Function docstring as a local variable Corey Richardson <kb1pkl@aim.com> - 2011-07-10 20:26 -0400

csiph-web