You may also find useful the following article on fetching web resources
with Python:
- * `Basic Authentication <https://web.archive.org/web/20201215133350/http://www.voidspace.org.uk/python/articles/authentication.shtml>`_
+ * `Basic Authentication <https://web.archive.org/web/20201215133350/http://www.voidspace.org.uk/python/articles/authentication.shtml>`__
A tutorial on *Basic Authentication*, with examples in Python.
Accepts any real number, not only integer or float.
-.. method:: socket.setsockopt(level, optname, value: int)
-.. method:: socket.setsockopt(level, optname, value: buffer)
- :noindex:
-.. method:: socket.setsockopt(level, optname, None, optlen: int)
- :noindex:
+.. method:: socket.setsockopt(level, optname, value: int | Buffer)
+ socket.setsockopt(level, optname, None, optlen: int)
.. index:: pair: module; struct