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

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
  • iteritems
  • iterkeys
  • iterlists
  • itervalues
  • builtins
  • future.utils
  • six