diff options
author | kotfu <jared@kotfu.net> | 2018-05-24 19:07:45 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-24 19:07:45 -0600 |
commit | cad21a60fa92ebe4a7c177142d273f9f7497967b (patch) | |
tree | 3cfa590653af8b7570bd4073384467d2ca736fa0 /examples/alias_startup.py | |
parent | 5d64ebee348aeffb02fc385f903c9af431e3721b (diff) | |
parent | 190fecb34ac91e25f64615f378d6d59ef6d77de8 (diff) | |
download | cmd2-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-x | examples/alias_startup.py | 3 |
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.""" |