From: Bob Halley Date: Mon, 21 May 2012 17:35:58 +0000 (+0100) Subject: fix typos X-Git-Tag: v1.11.0-py3~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c88caf9b92aab057aa456e74a6686376343a119;p=thirdparty%2Fdnspython.git fix typos --- diff --git a/dns/edns.py b/dns/edns.py index f0e1c53d..0d148f69 100644 --- a/dns/edns.py +++ b/dns/edns.py @@ -45,11 +45,11 @@ class Option(object): @type current: int @param olen: The length of the wire-format option data @type olen: int - @rtype: dns.ends.Option instance""" + @rtype: dns.edns.Option instance""" raise NotImplementedError def _cmp(self, other): - """Compare an ENDS option with another option of the same type. + """Compare an EDNS option with another option of the same type. Return < 0 if self < other, 0 if self == other, and > 0 if self > other. """ raise NotImplementedError @@ -134,7 +134,7 @@ def option_from_wire(otype, wire, current, olen): @type current: int @param olen: The length of the wire-format option data @type olen: int - @rtype: dns.ends.Option instance""" + @rtype: dns.edns.Option instance""" cls = get_option_class(otype) return cls.from_wire(otype, wire, current, olen)