Message 43766 - Python tracker (original) (raw)
Logged In: YES user_id=31435
Don't really care myself. Would be nice if the docstring for dict.update() matched the new realities, though .
BTW, there is a reliable and conventional way to detect
whether the 'dict' argument was passed to UserDict.update:
use a unique marker object instead of the universally visible
None. Like
_marker = object()
at module level, and
...(self, dict=_marker, ...)in the method defn. That can't be fooled without deliberate intent to deceive.