python: Show better repr for AS classes