You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/docs/docsite/rst/dev_guide/testing/sanity/no-dict-iterkeys.rst

10 lines
211 B
ReStructuredText

Sanity Tests » no-dict-iterkeys
===============================
The ``dict.iterkeys`` method has been removed in Python 3. Use the following instead:
.. code-block:: python
for KEY in DICT:
pass