The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.python
From: Steven D'Aprano <steve-REMOVE-T...@cybersource.com.au>
Date: 29 Jun 2010 02:19:34 GMT
Local: Mon, Jun 28 2010 10:19 pm
Subject: Re: dynamically modify help text
On Tue, 29 Jun 2010 10:37:44 +1000, Ben Finney wrote: True, but what you can't do is: > Brian Blais <bbl...@bryant.edu> writes: >> On Jun 28, 2010, at 14:25 , Chris Rebert wrote: >> so that gets back to my original question: can I change this text at > Classes are objects. You can change the ‘__doc__’ attribute of a class > A.__doc__ = "new docstring" a = A() unless you jump through hoops with __getattribute__ or descriptors. -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||