[Python-Dev] Keyword arg dictionary without keyword arguments

Guido van Rossum guido@digicool.com
2001年1月22日 20:33:20 -0500


> Guido,
>> Does your query ("Do you really need the NULL?") mean that you don't
> care whether the argument is NULL or an empty dictionary? I could
> change the code to do either for 2.1a2, if you have a preference.
>> Jeremy

Robust code IMO should treat NULL and {} the same. But since
traditionally we passed NULL, it's better to pass NULL rather than {}.
I believe that's the status quo now, right?
--Guido van Rossum (home page: http://www.python.org/~guido/)

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