.. _bad-builtin: bad-builtin / W0141 =================== **Message emitted:** ``Used builtin function %s`` **Description:** *Used when a disallowed builtin function is used (see the bad-function option). Usual disallowed functions are the ones like map, or filter , where Python offers now some cleaner alternative like list comprehension.* **Problematic code:** .. literalinclude:: /data/messages/b/bad-builtin/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/b/bad-builtin/good.py :language: python **Configuration file:** .. literalinclude:: /data/messages/b/bad-builtin/pylintrc :language: ini .. note:: This message is emitted by the optional :ref:`'deprecated_builtins'` checker, which requires the ``pylint.extensions.bad_builtin`` plugin to be loaded. Created by the `deprecated_builtins `__ checker.