Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
Fixed type hint.
Browse files Browse the repository at this point in the history
  • Loading branch information
todofixthis committed Feb 17, 2018
1 parent dc0ab5f commit a023af2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iota/bin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from getpass import getpass as secure_input
from io import StringIO
from sys import exit
from typing import Optional, Text
from typing import Any, Optional, Text

from six import text_type, with_metaclass

Expand Down Expand Up @@ -39,7 +39,7 @@ def __init__(self, stdout=sys.stdout, stderr=sys.stderr, stdin=sys.stdin):

@abstract_method
def execute(self, api, **arguments):
# type: (Iota, ...) -> Optional[int]
# type: (Iota, **Any) -> Optional[int]
"""
Executes the command and (optionally) returns an exit code (used by
the shell to determine if the application exited cleanly).
Expand Down

0 comments on commit a023af2

Please sign in to comment.