Movatterモバイル変換


[0]ホーム

URL:


[Python-ideas] Python Users Aren't Perfect

Ned Batchelderned at nedbatchelder.com
Thu Dec 15 22:11:10 CET 2011


On 12/15/2011 4:06 PM, Masklinn wrote:> On 2011-12-15, at 22:00 , Ned Batchelder wrote:>> What?  The whole point of the "def foo(*args)" syntax is so a function can take an unknown-length list of arguments, which will be treated uniformly.> That's not *entirely* true, it's also used for proxy functions, in order to just pass a bunch of arguments (positional or keywords) along to the next level without having to unpack and repack them one by one.We are in agreement: I don't know the length, and I will treat them uniformly (pass them all through to the next function).--Ned.


More information about the Python-ideasmailing list

[8]ページ先頭

©2009-2026 Movatter.jp