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


Groups > comp.lang.python > #57318

functools and objective usage

Subject functools and objective usage
From Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org>
Date 2013-10-23 01:26 +0330
Newsgroups comp.lang.python
Message-ID <mailman.1384.1382479015.18130.python-list@python.org> (permalink)

Show all headers | View raw


Dear all,

Suppose i have function name, 3 arguments for it, and object of its
caller such as self.blahbalah
So:
my function is:
self.blahblah.name(arg1,arg2,arg3)

I read functools documentations, may be objictive usage and
functionality differ, Do you have experience with objective usage ? 
http://docs.python.org/2/library/functools.html#partial-objects

I need to use it in my class,

Thank you,

Yours,
Mohsen

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


Thread

functools and objective usage Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org> - 2013-10-23 01:26 +0330
  Re: functools and objective usage Piet van Oostrum <piet@vanoostrum.org> - 2013-10-22 23:07 -0400

csiph-web