Skip to content

Commit

Permalink
chore(docs): fix typos (#3749)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thabokani authored Jan 29, 2024
1 parent 55e18f6 commit c150fc4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/tokens/ERC721.vy
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface ERC721Receiver:
# transfer, the approved address for that NFT (if any) is reset to none.
# @param _from Sender of NFT (if address is zero address it indicates token creation).
# @param _to Receiver of NFT (if address is zero address it indicates token destruction).
# @param _tokenId The NFT that got transfered.
# @param _tokenId The NFT that got transferred.
event Transfer:
sender: indexed(address)
receiver: indexed(address)
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/syntax/exceptions/test_invalid_payable.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def foo():


@pytest.mark.parametrize("bad_code", fail_list)
def test_variable_decleration_exception(bad_code):
def test_variable_declaration_exception(bad_code):
with raises(NonPayableViolation):
compiler.compile_code(bad_code)

Expand Down
2 changes: 1 addition & 1 deletion vyper/semantics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function.
2. We call `fetch_call_return` on the function definition object, with the AST
node representing the call. This method validates the input arguments, and returns
a `BytesM_T` with `m=32`.
3. We validation of the delcaration of `bar` in the same manner as the first
3. We validation of the declaration of `bar` in the same manner as the first
example, and compare the generated type to that returned by `sha256`.

### Exceptions
Expand Down

0 comments on commit c150fc4

Please sign in to comment.