3# SPDX-License-Identifier: GPL-3.0-or-later
4
5from django.apps import AppConfig
6from django.core.checks import Warning, register 7
8from weblate.utils.checks import weblate_check
9
Defining a local variable or function with the same name as a built-in object makes the built-in object unusable within the current scope and makes the code prone to bugs.
dict = {} # dict is a Python builtin!
for idx, student in enumerate(students):
dict[student] = idx
roll_number = {}
for idx, student in enumerate(students):
roll_number[student] = idx