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 7444302 commit 109711dCopy full SHA for 109711d
python-stdlib/cmd/cmd.py
@@ -85,13 +85,16 @@ class Cmd:
85
nohelp = "*** No help on %s"
86
use_rawinput = 1
87
88
- def __init__(self, stdin=None, stdout=None):
+ def __init__(self, completekey='tab', stdin=None, stdout=None):
89
"""Instantiate a line-oriented interpreter framework.
90
91
The optional arguments stdin and stdout
92
specify alternate input and output file objects; if not specified,
93
sys.stdin and sys.stdout are used.
94
95
+ The optional argument completekey is not used, but provided for
96
+ compatibility with calling libraries.
97
+
98
"""
99
if stdin is not None:
100
self.stdin = stdin
0 commit comments