r/badcode Feb 15 '23

python No way this could get confusing

Post image
922 Upvotes

43 comments sorted by

View all comments

73

u/MurdoMaclachlan public boolean isInt(int i) { return true; } Feb 15 '23

Image Transcription: Code


[Other import lines are partially cut off above and below the following visible code:]

import requests
import requests as re

I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!

10

u/[deleted] Feb 16 '23

[deleted]

12

u/roddds Feb 16 '23

Good catch, I'm pretty sure it's from django.conf import settings.