summaryrefslogtreecommitdiff
path: root/examples/pirate.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a few bugs and examplesTodd Leonhardt2017-07-031-7/+9
| | | | | | | | | | | | | | Bug fixes: - case_insensitive is no longer a runtime-settable parameter, but it was still listed as such - Fixed a recursive loop bug when abbreviated commands are enabled and it could get stuck in the editor forever - Added additional command abbreviations to the "exclude from history" list - Fixed argparse_example.py and pirate.py examples Other changes: - Organized all attributes used to configure the ParserManager into a single location - Set the default value of "abbrev" to False (which controls whether or not abbreviated commands are allowed) - With good tab-completion of command names, using abbreviated commands isn't a particularly useful feature - And it can create problems
* Mostly fix a bunch of spelling mistakes.Todd Leonhardt2017-03-131-1/+1
| | | | A few other miscellaneous minor tweaks for whitespace and such.
* Improved examplesTodd Leonhardt2017-03-111-0/+89
Added the pirate8.py example from Catherine's PyCon2010 talk as pirate.py with some cleanups done. Added an example of a complete_* method for command argument completion to the python_scripting.py example.