AllenDowney / ThinkStats2

Text and supporting code for Think Stats, 2nd Edition
http://allendowney.github.io/ThinkStats2/
GNU General Public License v3.0
4.02k stars 11.28k forks source link

Issue in nsfw.py: corrected #120

Closed Basu0 closed 2 years ago

Basu0 commented 6 years ago

The nsfw.py, line 118: d = defaultdict(list), gives the error- first argument must be callable or none. This was solved using d = defaultdict(lambda:list()). Please correct this in the repository

AllenDowney commented 6 years ago

I will get that fixed as soon as I can. Thanks!

On Fri, Aug 31, 2018 at 11:38 AM, Basu0 notifications@github.com wrote:

The nsfw.py, line 118: d = defaultdict(list), gives the error- first argument must be callable or none. This was solved using d = defaultdict(lambda:list()). Please correct this in the repository

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AllenDowney/ThinkStats2/issues/120, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy37ZZG71kgJJJcuWc6uUsyzTLS6Y7Eks5uWViIgaJpZM4WVcBs .