Name
default
Synopsis
c
.default(s
)
c
.onecmd
calls
c
.default(
s
)
when there is no method
c
.do_
verb
for the first word verb
of line
s
. Subclasses often override
default
. The base class
Cmd.default
method prints an error message.
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.