ucscsdk/ucscgenutils.py
def iteritems(d):
    """
    Factor-out Py2-to-3 differences in dictionary item iterator methods
    """

    try:
        return d.iteritems()
    except AttributeError:
        return d.items()

    Factor-out Py2-to-3 differences in dictionary item iterator methods
    
Factor-out Py2-to-3 differences in dictionary item iterator methods
Factor - out Py2 - to - 3 differences in dictionary item iterator methods
def iteritems(d):
    try:
        return d.iteritems()
    except AttributeError:
        return d.items()
def iteritems ( d ) : try : return d . iteritems ( ) except AttributeError : return d . items ( )
Factor-out Py2-to-3 differences in dictionary item iterator methods
Factor - out Py2 - to - 3 differences in dictionary item iterator methods
"""
    Factor-out Py2-to-3 differences in dictionary item iterator methods
    """
d