]> granicus.if.org Git - python/commit
Added the "sub-command" machinery to formalize the notion of "command
authorGreg Ward <gward@python.net>
Sat, 16 Sep 2000 15:09:17 +0000 (15:09 +0000)
committerGreg Ward <gward@python.net>
Sat, 16 Sep 2000 15:09:17 +0000 (15:09 +0000)
commitb3e0ad9804cac46243fb49bb8894e00b6880295a
treec23a2731de6286c2c4dca9d4b06166f56be06c90
parentfadefedb8945751d21cabf8763b431630112a20d
Added the "sub-command" machinery to formalize the notion of "command
families" -- eg. install and its brood, build and its brood, and so forth.
Specifically: added the 'sub_commands' class attribute (empty list, sub-
classes must override it) and a comment describing it, and the
'get_sub_commands()' method.
Lib/distutils/cmd.py