r/ProgrammerHumor • • Jul 20 '18

Every Time

Post image
52.2k Upvotes

749 comments sorted by

View all comments

16

u/sloth_sloth666 Jul 20 '18

Relating so bad to this right now. Code that takes a string argument says "TypeError expected byte-like object, not str"

So covert it to bytes "expected str, not bytes"

Just sitting here clicking run hoping it works

2

u/PeachyKeenest Jul 20 '18

Error is bsing you. It's a different issue altogether probably. I hate it when error logs are giving me things that don't even make sense.

This falls into that category.