Skip to content

Commit

Permalink
Add type hints.
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonmessmer committed Apr 28, 2024
1 parent 82242ae commit d572253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gef.py
Expand Up @@ -9263,7 +9263,7 @@ def __init__(self):
"Line color of the got command output for unresolved function")
return

def build_line(self, name: str, color: str, address_val: int, got_address: int):
def build_line(self, name: str, color: str, address_val: int, got_address: int) -> str:
line = f"[{hex(address_val)}] "
line += Color.colorify(f"{name} {RIGHT_ARROW} {hex(got_address)}", color)
return line
Expand Down

0 comments on commit d572253

Please sign in to comment.