Le 30/01/2012 15:43, anatoly techtonik a écrit : > In which case d['clear'] != d.clear can be true? dict.clear is a method: >>> import bunch >>> b = bunch.Bunch() >>> b['clear'] = 4 >>> b['clear'] 4 >>> b.clear <function clear> >>> b.clear.__doc__ 'D.clear() -> None. Remove all items from D.' Regards, -- Simon Sapin