Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumPythonmutable default trapSingle-choice MCQ

A function is defined with a mutable default that is a dict. Which statement is true about that default object?

def cfg(opts={}): return opts