summaryrefslogtreecommitdiff
path: root/examples/alias_startup.py
diff options
context:
space:
mode:
authorkotfu <jared@kotfu.net>2018-05-24 19:07:45 -0600
committerGitHub <noreply@github.com>2018-05-24 19:07:45 -0600
commitcad21a60fa92ebe4a7c177142d273f9f7497967b (patch)
tree3cfa590653af8b7570bd4073384467d2ca736fa0 /examples/alias_startup.py
parent5d64ebee348aeffb02fc385f903c9af431e3721b (diff)
parent190fecb34ac91e25f64615f378d6d59ef6d77de8 (diff)
downloadcmd2-git-cad21a60fa92ebe4a7c177142d273f9f7497967b.tar.gz
Merge pull request #413 from python-cmd2/speedup_import
Defer certain imports
Diffstat (limited to 'examples/alias_startup.py')
-rwxr-xr-xexamples/alias_startup.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/alias_startup.py b/examples/alias_startup.py
index 7ccfa6e5..4a061e87 100755
--- a/examples/alias_startup.py
+++ b/examples/alias_startup.py
@@ -5,8 +5,7 @@
2) How to load an initialization script at startup
"""
-from cmd2 import cmd2
-
+import cmd2
class AliasAndStartup(cmd2.Cmd):
""" Example cmd2 application where we create commands that just print the arguments they are called with."""