Name

emptyline

Synopsis

                        c.emptyline( )

c .onecmd calls c .emptyline( ) when command line s is empty or blank. Unless a subclass overrides this method, the base-class method Cmd.emptyline is called and re-executes the last non-blank command line seen, stored in the attribute c .lastcmd of c.

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.