def draw(surface, *objs):

    for o in objs:
        if isinstance(o, pymunk.Space):
            _draw_space(surface, o)
        elif isinstance(o, pymunk.Shape):
            _draw_shape(surface, o)
        elif isinstance(o, pymunk.Constraint):
            _draw_constraint(surface, o)
        elif hasattr(o, '__iter__'):
            for oo in o:
                draw(surface, oo)
Test obtaining an Application Only OAuth 2 access token using bad app tokens fails
dataset/ETHPy150Open estevaofon/angry-birds-python/pymunk-4.0.0/pymunk/pygame_util.py/draw--crossover with--dataset/ETHPy150Open ryanmcgrath/twython/tests/test_auth.py/TwythonAuthTestCase.test_obtain_access_token_bad_tokens