summaryrefslogtreecommitdiff
path: root/pylint/test/functional/redefined_builtin.py
blob: d6bca4b72bb9ec9dc604de7fcf52a1cc347fa716 (plain)
1
2
3
4
5
6
7
8
9
10
"""Tests for redefining builtins."""
from __future__ import print_function

def function():
    """Redefined local."""
    type = 1  # [redefined-builtin]
    print(type)

# pylint:disable=invalid-name
map = {}  # [redefined-builtin]