From d983b8a02ad046ee9a671f2a5b7c330b4084b8ec Mon Sep 17 00:00:00 2001 From: yenatch Date: Wed, 25 Dec 2013 06:52:55 -0500 Subject: battle_animations: docstring for battle_anim_label --- pokemontools/battle_animations.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pokemontools/battle_animations.py b/pokemontools/battle_animations.py index 678e9ce..ffc89e4 100644 --- a/pokemontools/battle_animations.py +++ b/pokemontools/battle_animations.py @@ -254,6 +254,9 @@ class BattleAnim: def battle_anim_label(i): + """ + Return a label matching the name of a battle animation by id. + """ if i in anims.keys(): base_label = 'BattleAnim_%s' % anims[i].title().replace('_','') else: -- cgit v1.2.3