[Wisp-cvs] wisp/users/dig tran.py,1.69,1.70
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-05-15 06:10:18
|
Update of /cvsroot/wisp/wisp/users/dig In directory sc8-pr-cvs1:/tmp/cvs-serv16230 Modified Files: tran.py Log Message: added docstring to the Token_Source class Index: tran.py =================================================================== RCS file: /cvsroot/wisp/wisp/users/dig/tran.py,v retrieving revision 1.69 retrieving revision 1.70 diff -u -d -r1.69 -r1.70 --- tran.py 15 May 2003 05:57:30 -0000 1.69 +++ tran.py 15 May 2003 06:10:12 -0000 1.70 @@ -100,6 +100,9 @@ Semicolon = Unique_Token(';') class Token_Source (object): + """After creation, a Token_Source instance will deliver one token +each time its get_token method is called, until the token stream ends. +After that, it will return None.""" get_token = abstract class Lexer (shlex, Token_Source): |