Skip to content

Commit c3ea737

Browse files
committed
this link is dead, add a comment to explain what it does instead
1 parent 46db5d7 commit c3ea737

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Lib/_pyrepl/fancycompleter.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,8 @@ def __init__(self, namespace=None, Config=DefaultConfig):
6666
readline.set_completer_delims(delims)
6767

6868
def complete(self, text, state):
69-
"""
70-
stolen from:
71-
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496812
72-
"""
69+
# if you press <tab> at the beginning of a line, insert an actual
70+
# \t. Else, trigger completion.
7371
if text == "":
7472
return ('\t', None)[state]
7573
else:

0 commit comments

Comments
 (0)