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


Groups > comp.lang.python > #57318 > unrolled thread

functools and objective usage

Started byMohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org>
First post2013-10-23 01:26 +0330
Last post2013-10-22 23:07 -0400
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  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

#57318 — functools and objective usage

FromMohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org>
Date2013-10-23 01:26 +0330
Subjectfunctools and objective usage
Message-ID<mailman.1384.1382479015.18130.python-list@python.org>
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

[toc] | [next] | [standalone]


#57335

FromPiet van Oostrum <piet@vanoostrum.org>
Date2013-10-22 23:07 -0400
Message-ID<m2wql41y8i.fsf@cochabamba.vanoostrum.org>
In reply to#57318
Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org> writes:

> 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
>
What do you mean with "objective usage"?
-- 
Piet van Oostrum <piet@vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web