From cd6a18ca864f5d770f76df7fa318ce41921bf916 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Mon, 13 Jul 2020 20:25:30 -0400 Subject: small simplification --- cmd2/table_creator.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmd2') diff --git a/cmd2/table_creator.py b/cmd2/table_creator.py index 42321564..4cfe0f0c 100644 --- a/cmd2/table_creator.py +++ b/cmd2/table_creator.py @@ -20,9 +20,8 @@ from . import ansi, constants, utils try: from typing import Deque except ImportError: - import collections import typing - Deque = typing._alias(collections.deque, typing.T) + Deque = typing._alias(deque, typing.T) # Constants EMPTY = '' -- cgit v1.2.1