[Python-3000] String formating operations in python 3k

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 6 02:53:56 CEST 2006


Ian Bicking wrote:
> ** can't be changed 
> in this way, either -- it really has to enumerate all the keys in the 
> thing passed to it,

In Py3k this could perhaps be different in the case where
you're calling a function defined like
 def f(*args, **kwds):
 ...
In that case there are no named arguments to look up
in the dict, so when it's called using
 f(**obj)
the obj could be passed straight through to the kwds
argument.
--
Greg


More information about the Python-3000 mailing list

AltStyle によって変換されたページ (->オリジナル) /