Skip to content

Commit 231877c

Browse files
committed
fix: minor docs issues; newsfragment for #3762
1 parent 0aa252d commit 231877c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/providers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ WebSocketProvider
318318

319319
Under the hood, the ``WebSocketProvider`` uses the python websockets library for
320320
making requests. If you would like to modify how requests are made, you can
321-
use the ``websocket_kwargs`` to do so. See the `websockets documentation`_ for
321+
use the ``websocket_kwargs`` to do so. See the `websockets connection`_ docs for
322322
available arguments.
323323

324324

docs/web3.contract.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1728,10 +1728,10 @@ appropriately in the following way:
17281728

17291729
.. code-block:: python
17301730
1731-
from web3 import Web3, WebSocketProvider
1731+
from web3 import Web3, HTTPProvider
17321732
from web3.utils import handle_offchain_lookup
17331733
1734-
w3 = Web3(WebSocketProvider(...))
1734+
w3 = Web3(HTTPProvider(...))
17351735
17361736
myContract = w3.eth.contract(address=...)
17371737
myData = b'data for offchain lookup function call'

newsfragments/3762.removal.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Removal of the deprecated ``LegacyWebSocketProvider``.

0 commit comments

Comments
 (0)