mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Added a docstring.
This commit is contained in:
parent
1fa9f7990b
commit
b1495a1718
@ -231,6 +231,7 @@ class Tokenizer:
|
||||
return ret
|
||||
|
||||
def tokenize(self, s):
|
||||
"""Tokenizes a string according to supybot's nested argument format."""
|
||||
lexer = shlex.shlex(StringIO(s))
|
||||
lexer.commenters = ''
|
||||
lexer.quotes = '"'
|
||||
|
Loading…
Reference in New Issue
Block a user