Skip to content

Commit 52f5884

Browse files
authored
Fix typos (#3654)
* fix typo * fix typo * fix typos
1 parent df647f2 commit 52f5884

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/web3.contract.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ The :py:class:`ContractFunction` class provides attributes for each function. Ac
831831
832832
The signature of the function assigned to the class ``__name__`` during initialization.
833833
Fallback and Receive functions will be assigned as classes :py:class:`FallbackFn` or
834-
:py:class:`RecieveFn` respectively.
834+
:py:class:`ReceiveFn` respectively.
835835

836836
.. py:attribute:: ContractFunction.myMethod(*args, **kwargs).name
837837

web3/_utils/abi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def filter_by_argument_name(
131131
argument_names: Collection[str], contract_abi: ABI
132132
) -> Sequence[ABIElement]:
133133
"""
134-
Return a list of each ``ABIElement`` which contain arguments matching provided
134+
Return a list of each ``ABIElement`` which contains arguments matching provided
135135
names.
136136
"""
137137
abis_with_matching_args = []
@@ -153,7 +153,7 @@ def filter_by_argument_type(
153153
argument_types: Collection[str], contract_abi: ABI
154154
) -> List[ABIElement]:
155155
"""
156-
Return a list of each ``ABIElement`` which contain arguments matching provided
156+
Return a list of each ``ABIElement`` which contains arguments matching provided
157157
types.
158158
"""
159159
abis_with_matching_args = []
@@ -429,7 +429,7 @@ def find_constructor_abi_element_by_type(contract_abi: ABI) -> ABIConstructor:
429429
Find the constructor ABI element in the contract ABI.
430430
431431
This function is often used in place of `web3.utils.abi.get_abi_element` to find
432-
a constructor without considering it's argument types. This is used prior to
432+
a constructor without considering its argument types. This is used prior to
433433
encoding the abi, since the argument types are not known at that time.
434434
"""
435435
candidates = [abi for abi in contract_abi if abi["type"] == "constructor"]

web3/gas_strategies/rpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ def rpc_gas_price_strategy(
1515
w3: Web3, transaction_params: Optional[TxParams] = None
1616
) -> Wei:
1717
"""
18-
A simple gas price strategy deriving it's value from the eth_gasPrice JSON-RPC call.
18+
A simple gas price strategy deriving its value from the eth_gasPrice JSON-RPC call.
1919
"""
2020
return w3.eth.gas_price

0 commit comments

Comments
 (0)