Re: deleting, then re-importing a class method

2010-01-21 Thread Peter Otten
Robert P. J. Day wrote: > > (once again, never ashamed to ask the dumb questions.) > > still playing with python3, and testing whether i can > delete/unimport a specific method, then re-import it: > import sys print(sys.__doc__) > ... blah blah blah ... del(sys.__doc__)

Re: deleting, then re-importing a class method

2010-01-21 Thread Jean-Michel Pichavant
Robert P. J. Day wrote: (once again, never ashamed to ask the dumb questions.) still playing with python3, and testing whether i can delete/unimport a specific method, then re-import it: import sys print(sys.__doc__) ... blah blah blah ... del(sys.__doc__) print(sys.__doc_

deleting, then re-importing a class method

2010-01-21 Thread Robert P. J. Day
(once again, never ashamed to ask the dumb questions.) still playing with python3, and testing whether i can delete/unimport a specific method, then re-import it: >>> import sys >>> print(sys.__doc__) ... blah blah blah ... >>> del(sys.__doc__) >>> print(sys.__doc__) module(name[, doc]) Cre