Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

redefined_builtin.py 260B

1234567891011
  1. """Tests for redefining builtins."""
  2. from __future__ import print_function
  3. def function():
  4. """Redefined local."""
  5. type = 1 # [redefined-builtin]
  6. print(type)
  7. # pylint:disable=invalid-name
  8. map = {} # [redefined-builtin]
  9. __doc__ = 'reset the doc'