Parcourir la source

[2252] update docstring of _get_ipver_str() about accessing

Naoki Kambe il y a 12 ans
Parent
commit
ad8e7ea08e
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/bin/xfrin/xfrin.py.in

+ 2 - 1
src/bin/xfrin/xfrin.py.in

@@ -895,7 +895,8 @@ class XfrinConnection(asyncore.dispatcher):
 
     def _get_ipver_str(self):
         """Returns a 'v4' or 'v6' string representing a IP version
-        depending on the socket family"""
+        depending on the socket family. This is for an internal use
+        only."""
         if self.socket.family == socket.AF_INET:
             return 'v4'
         elif self.socket.family == socket.AF_INET6: