r47156 - improved docstring

glyph-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Tue, 5 Apr 2016 14:59:42 -0600 (MDT)
Newsgroups gmane.comp.python.twisted.commits
Message-ID <[email protected]>
Author: glyph
Date: Tue Apr  5 14:59:38 2016
New Revision: 47156

Modified:
   branches/haproxy-endpoint-8203-2/twisted/protocols/haproxy/_v2parser.py

Log:
improved docstring

Modified: branches/haproxy-endpoint-8203-2/twisted/protocols/haproxy/_v2parser.py
==============================================================================
--- branches/haproxy-endpoint-8203-2/twisted/protocols/haproxy/_v2parser.py	(original)
+++ branches/haproxy-endpoint-8203-2/twisted/protocols/haproxy/_v2parser.py	Tue Apr  5 14:59:38 2016
@@ -114,7 +114,14 @@
     @staticmethod
     def _bytesToIPv6(bytestring):
         """
-        Convert a bytestring to an IPv6 representation.
+        Convert packed 128-bit IPv6 address bytes into a colon-separated ASCII
+        bytes representation of that address.
+
+        @param bytestring: 16 octets representing an IPv6 address.
+        @type bytestring: L{bytes}
+
+        @return: a dotted-quad notation IPv6 address.
+        @rtype: L{bytes}
         """
         hexString = binascii.b2a_hex(bytestring)
         return b':'.join(