470,599 Members | 1,465 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,599 developers. It's quick & easy.

what is addMethod ?

Hello,

I saw some python open source project with many
self.addMethod() functions (with 3 paramters)

What does self.addMethod() is good for ?

I had looked at documnetation (downloaded and grepped
all the pdf doc files) and could not find a thing about
it ; nore did googling helped.

Regards,
John

Jul 19 '05 #1
4 1118
Le 23 May 2005 02:40:57 -0700, qw*****@hotmail.com a écrit :
Hello,

I saw some python open source project with many
self.addMethod() functions (with 3 paramters)
Which "open source project" ? Which class in which module ?
What does self.addMethod() is good for ?

Find where this method is defined : (with fgrep or findstr according to
your operating system) and then
import NameOfModule
help(NameOfModule)
Jul 19 '05 #2
qw*****@hotmail.com wrote:
I saw some python open source project with many
self.addMethod() functions (with 3 paramters)

What does self.addMethod() is good for ?


It's not a standard method, so it's good for whatever the particular
class you were looking at was using it for. We might be able to tell you
more if you mentioned the specific script you saw it used in.
Jul 19 '05 #3
Thnks,
I wrongly took it for a standard method;
I found where it is defined (it's part of the project); Tnnks.

John

Jul 19 '05 #4
qw*****@hotmail.com a écrit :
Thnks,
I wrongly took it for a standard method;
I found where it is defined (it's part of the project);


Then it would be nice to fully answer your question, so everyone may
know what's this method and what it does (and what project it comes from).

Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.