• Raymond Hettinger's avatar
    Implement dict() style constructor. · 54405456
    Raymond Hettinger yazdı
    Already supported dict() and dict(mapping).
    Now supports dict(itemsequence) and
    Just van Rossum's new syntax for dict(keywordargs).
    
    Also, added related unittests.
    
    The docs already promise dict-like behavior
    so no update is needed there.
    54405456
UserDict.py 4.89 KB