Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] PEP 309: Partial method application

"Martin v. Löwis"martin at v.loewis.de
Fri Aug 19 22:08:23 CEST 2005


Josiah Carlson wrote:> Steven Bethard <steven.bethard at gmail.com> wrote:>>>I agree that an operator.methodcaller() shouldn't try to support>>multiple methods.  OTOH, the syntax>>    methodcall.method(*args, **kwargs)>>doesn't really lend itself to multiple methods either.>>> But that's OK, we don't want to be calling multiple methods anyways, do> we?  I'd personally like to see an example it makes sense if someone> says that we do.Several people argued that the version with a string method nameshould be added "for consistency". I only pointed out that doingso would not be completely consistent.Regards,Martin


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp