We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 244edbc commit 3eeda0aCopy full SHA for 3eeda0a
python-stdlib/cmd/cmd.py
@@ -86,13 +86,16 @@ class Cmd:
86
nohelp = "*** No help on %s"
87
use_rawinput = 1
88
89
- def __init__(self, stdin=None, stdout=None):
+ def __init__(self, completekey='tab', stdin=None, stdout=None):
90
"""Instantiate a line-oriented interpreter framework.
91
92
The optional arguments stdin and stdout
93
specify alternate input and output file objects; if not specified,
94
sys.stdin and sys.stdout are used.
95
96
+ The optional argument completekey is not used, but provided for
97
+ compatibility with calling libraries.
98
+
99
"""
100
if stdin is not None:
101
self.stdin = stdin
0 commit comments