Skip to content

Commit 643b066

Browse files
committed
Updated import.
1 parent 094223d commit 643b066

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

cmd2/decorators.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ def _parse_positionals(args: tuple[Any, ...]) -> tuple['Cmd', Statement | str]:
7979
:return: The cmd2.Cmd reference and the command line statement.
8080
"""
8181
for pos, arg in enumerate(args):
82-
from cmd2 import (
83-
Cmd,
84-
)
82+
from .cmd2 import Cmd
8583

8684
if isinstance(arg, (Cmd, CommandSet)) and len(args) > pos + 1:
8785
if isinstance(arg, CommandSet):

0 commit comments

Comments
 (0)