Commits

Anonymous committed 632668b

Basic function docstrings improved.

Comments (0)

Files changed (2)

 4aabad3acd21beb5c2477693570472ae2d813f12 v0.4.1
 7e734b4b4f5d91c2185f7c43bbfbc6f35d219624 v0.4.1-r1
 19fb8390abadaadd423520d862135dd61fce6256 v0.4.2
+007cb6aa5a6e887b6aa4dcdc708e636c65667086 v0.4.4

rpg_lib/textrpg.py

     return story_helper.ask(question, *args, **kwds)
 
 def diag(text, localize=True, autoscroll=False, *args, **kwds): 
-    """Output some text."""
+    """Output some text.
+
+    the method used by diag is also used by story() to output text."""
     return story_helper.diag(text, localize=localize, autoscroll=autoscroll, *args, **kwds)
 
 def story(text=None, *args, **kwds): 
-    """Output story text."""
+    """Output story text line by line. Calls the method behind diag() for each line of text."""
     return story_helper.story(text, *args, **kwds)
 
 def give_exp(char, amount, *args, **kwds):