[docs] document AF_PACKET socket address format (issue 25041)

berker.peksag at gmail.com berker.peksag at gmail.com
Fri Oct 30 03:15:14 EDT 2015


http://bugs.python.org/review/25041/diff/15849/Doc/library/socket.rst
File Doc/library/socket.rst (right):

http://bugs.python.org/review/25041/diff/15849/Doc/library/socket.rst#newcode131
Doc/library/socket.rst:131: - A tuple ``(interface, eth_prot, pkttype,
ha_type, addr, addr_len``, )
    addr_len``, )

should read

    addr_len)``

http://bugs.python.org/review/25041/diff/15849/Doc/library/socket.rst#newcode132
Doc/library/socket.rst:132: is used for the  :const:`AF_PACKET` address
family, where ``interface`` is a
Double space before :const:`AF_PACKET`.

http://bugs.python.org/review/25041/diff/15849/Doc/library/socket.rst#newcode132
Doc/library/socket.rst:132: is used for the  :const:`AF_PACKET` address
family, where ``interface`` is a
``interface`` -> *interface*

``eth_prot`` -> *eth_prot*

(same change for others)

http://bugs.python.org/review/25041/


More information about the docs mailing list