def maybeName(obj):
    try:
        return obj.__name__
    except (AttributeError, ):
        return str(obj)
Get "Pictures of The Day" from English Wikipedia for a given month
dataset/ETHPy150Open blampe/IbPy/ib/lib/__init__.py/maybeName--crossover with--dataset/ETHPy150Open fluentpython/example-code/attic/concurrency/wikipedia/orig/sync.py/main