vyper
vyper copied to clipboard
Incorrect term used on L132 of docs/control-structures.rst - using `expect` instead of `accept`
Simple Summary
https://github.com/vyperlang/vyper/blob/79303fc4fcba06994ee5c6a7baef57bdb185006c/docs/control-structures.rst?plain=1#L132
Incorrect term used on L132 of docs/control-structures.rst - using expect instead of accept
L132:
The below line is/can be misleading:
"This function is always named __default__. It must be annotated with @external. It cannot expect any input arguments."
It should be changed to:
"This function is always named __default__. It must be annotated with @external. It cannot accept any input arguments."
Motivation
Using expect instead of accept is incorrect and potentially misleading.
Specification
n/a
Backwards Compatibility
n/a
Dependencies
n/a
References
n/a
Copyright
Copyright and related rights waived via CC0
thanks for the report! are you interested in submitting a PR to fix the issue?
No problem. Sure. How do I go about that?
👊