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


Groups > comp.lang.python > #43022

Re: __doc__ string for getset members

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <arnodel@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.067
X-Spam-Evidence '*H*': 0.89; '*S*': 0.02; 'attribute': 0.07; 'subject:members': 0.09; 'subject:string': 0.09; 'docstring': 0.16; 'nick': 0.16; 'wrote:': 0.18; '"you': 0.24; 'header:In- Reply-To:1': 0.27; 'to:2**1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'thanks': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'to:addr:gmail.com': 0.65; 'reply': 0.66; 'answer.': 0.68; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=+d6qV831bPOwC1NawB05cPijiSk3CsAv4AKdMAPAAjw=; b=JokfD5ZXnTTQuwJoY5nAlPBo/efHJ3poMAIi5hFMJNNMSQsfsPuAFlzammpxGCQA+X UPokwBgSaV7j3yiyRmv6XYF8F/mOUOJ+lyEOLHsmQsaqeWegJycKBg5OQ9Xi13lMHKap Y5SxKGvVcnLXtVBXks4tMkAVIXKLuwJUGPyG+OeJq+Gh4dC60O7S4Pu5KLhqZRP7GaqP c0+/mUdoGNMXasoOd+EKPrfVrLPgMITkiPYDvHdKOiGb4GsUDfsGo7ddHuHZ8Mh1SvTY acSg0ODAWHHRjSQODNc2QbpLWSeqL5AUD781hiQW92kz9Pyc1jAsRhX0U2R8KLvKqfm/ cCCg==
MIME-Version 1.0
X-Received by 10.112.6.234 with SMTP id e10mr10336126lba.46.1365367682441; Sun, 07 Apr 2013 13:48:02 -0700 (PDT)
In-Reply-To <5161D946.7080606@gmail.com>
References <5161B4A1.80604@gmail.com> <CAJ6cK1aw1LwO-cdQpVgCZu81b3HtPNTU45XCVLiLCuzXsiw9GQ@mail.gmail.com> <5161D946.7080606@gmail.com>
Date Sun, 7 Apr 2013 21:48:02 +0100
Subject Re: __doc__ string for getset members
From Arnaud Delobelle <arnodel@gmail.com>
To Nick Gnedin <ngnedin@gmail.com>, Python <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.258.1365367683.3114.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1365367683 news.xs4all.nl 6927 [2001:888:2000:d::a6]:56516
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:43022

Show key headers only | View raw


On 7 April 2013 21:38, Nick Gnedin <ngnedin@gmail.com> wrote:
>
> Arnaud,
>
> Thanks for the answer. I understand that I cannot access the docstring as an
> attribute of a getter, but what did you mean when you said "You need to do
> it from the class"? I am still confused - is there a way to get that
> docstring or not?
>
> Nick
>

Please reply on-list

-- 
Arnaud

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


Thread

Re: __doc__ string for getset members Arnaud Delobelle <arnodel@gmail.com> - 2013-04-07 21:48 +0100

csiph-web