MCPcopy Index your code
hub / github.com/webpy/webpy / py3helpers.py

File py3helpers.py

web/py3helpers.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Utilities for make the code run both on Python2 and Python3."""
2
3# Dictionary iteration
4iterkeys = lambda d: iter(d.keys())

Callers

nothing calls this directly

Calls 3

itemsMethod · 0.80
keysMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected