what is addMethod ?

Q

qwejohn

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
 
F

F. Petitjean

Le 23 May 2005 02:40:57 -0700, (e-mail address removed) 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)
 
L

Leif K-Brooks

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.
 
Q

qwejohn

Thnks,
I wrongly took it for a standard method;
I found where it is defined (it's part of the project); Tnnks.

John
 
B

Bruno Desthuilliers

(e-mail address removed) 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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top