bugbear16.7.1

B301 B301: Python 3 does not include .iter* methods on dictionaries

B301: Python 3 does not include .iter* methods on dictionaries. Remove the iter prefix from the method name. For Python 2 compatibility, prefer the Python 3 equivalent unless you expect the size of the container to be large or unbounded. Then use six.iter* or future.utils.iter*.

Extra parameters

These are defined by flake8-bugbear in the code and define the behavior of the violation. That's why we decided to print them here, for your reference.
Parameter Value
methods
  • iteritems
  • iterkeys
  • iterlists
  • itervalues
valid_paths
  • builtins
  • future.utils
  • six