summaryrefslogtreecommitdiff
path: root/dns/tokenizer.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2005-09-02 05:22:31 +0000
committerBob Halley <halley@dnspython.org>2005-09-02 05:22:31 +0000
commit07c1fb5c5f054bf12ec5835afb94e5681112715a (patch)
tree221444a004db78d658c9a145f08fbfa031bfae98 /dns/tokenizer.py
parent6d7cf919d7047e4525cbd37c7c285afe23b06d20 (diff)
downloaddnspython-07c1fb5c5f054bf12ec5835afb94e5681112715a.tar.gz
accept the unknown RR syntax for known RR types
Original author: Bob Halley <halley@dnspython.org> Date: 2004-05-14 08:33:47
Diffstat (limited to 'dns/tokenizer.py')
-rw-r--r--dns/tokenizer.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/dns/tokenizer.py b/dns/tokenizer.py
index ad078ff..a61fa85 100644
--- a/dns/tokenizer.py
+++ b/dns/tokenizer.py
@@ -59,7 +59,7 @@ class Tokenizer(object):
@ivar ungotten_char: The most recently ungotten character, or None.
@type ungotten_char: string
@ivar ungotten_token: The most recently ungotten token, or None.
- @type ungotten_token: string
+ @type ungotten_token: (int, string) token tuple
@ivar multiline: The current multiline level. This value is increased
by one every time a '(' delimiter is read, and decreased by one every time
a ')' delimiter is read.
@@ -302,8 +302,8 @@ class Tokenizer(object):
empty.
@param token: the token to unget
- @type token: string
- @raises UngetBufferFull: there is already an ungotten char
+ @type token: (int, string) token tuple
+ @raises UngetBufferFull: there is already an ungotten token
"""
if not self.ungotten_token is None: