You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0]
2.3.2
Traceback (most recent call last):
File "test_DefaultMunch.py", line 10, in <module>
for k, v in s: d[k].append(v)
TypeError: descriptor 'append' for 'list' objects doesn't apply to a 'int' object
The text was updated successfully, but these errors were encountered:
The defaultdict example from its documentation produces TypeError
outputs
The text was updated successfully, but these errors were encountered: