Skip to content

Commit

Permalink
docs: ssl.wrap_socket function -> ssl.SSLContext.wrap_socket method
Browse files Browse the repository at this point in the history
Just fixing a couple more Sphinx warnings. If only the warnings from
Sphinx always looking for "class" refs even when we use type aliases in
function/method signatures were this easy to solve.
  • Loading branch information
dgw committed Nov 20, 2023
1 parent e05b2e6 commit 8151acd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,13 @@ In that case:

.. seealso::

Sopel uses the built-in :func:`ssl.wrap_socket` function to wrap the socket
used for the IRC connection.
Sopel uses the built-in :meth:`ssl.SSLContext.wrap_socket` function to wrap
the socket used for the IRC connection.

.. note::

Sopel will try to look at one of these files for the CA certs pem file
required by :func:`ssl.wrap_socket`:
required by :meth:`ssl.SSLContext.wrap_socket`:

* ``/etc/pki/tls/cert.pem``
* ``/etc/ssl/certs/ca-certificates.crt`` (Debian)
Expand Down

0 comments on commit 8151acd

Please sign in to comment.