Update docstring

pull/1730/head
webthethird 2 years ago
parent 4d8181ee0e
commit 4dfe45742a
  1. 2
      slither/utils/code_generation.py

@ -16,7 +16,7 @@ def generate_interface(contract: "Contract") -> str:
Returns: Returns:
A string with the code for an interface, with function stubs for all public or external functions and A string with the code for an interface, with function stubs for all public or external functions and
state variables, as well as any events or structs declared in the contract. state variables, as well as any events, custom errors and/or structs declared in the contract.
""" """
interface = f"interface I{contract.name} {{\n" interface = f"interface I{contract.name} {{\n"
for event in contract.events: for event in contract.events:

Loading…
Cancel
Save