]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Fix documentation.
authorBrian Wellington <bwelling@xbill.org>
Tue, 21 Apr 2020 21:51:10 +0000 (14:51 -0700)
committerBrian Wellington <bwelling@xbill.org>
Tue, 21 Apr 2020 21:53:20 +0000 (14:53 -0700)
Rdata.to_wire() writes to the file, and doesn't return anything.

dns/rdata.py

index f9421a87efd8e043587e0e1753af13de47a33cd3..297f0db043d247a4d5d6dcc7d6ef91c008ce990f 100644 (file)
@@ -162,7 +162,7 @@ class Rdata(object):
     def to_wire(self, file, compress=None, origin=None):
         """Convert an rdata to wire format.
 
-        Returns a ``binary``.
+        Returns ``None``.
         """
 
         raise NotImplementedError