Add missing namespace argument to rlcompleter.Completer (#2105)

This argument has been around since 2.3, and it's documented in the
rlcompleter docstring (although not on python.org).
This commit is contained in:
Omar Sandoval
2018-05-09 22:12:02 -07:00
committed by Jelle Zijlstra
parent d289c20260
commit aab1b20c80

View File

@@ -1,6 +1,6 @@
# Stubs for rlcompleter
from typing import Optional, Union
from typing import Any, Dict, Optional, Union
import sys
if sys.version_info >= (3,):
@@ -10,4 +10,5 @@ else:
class Completer:
def __init__(self, namespace: Optional[Dict[str, Any]] = ...) -> None: ...
def complete(self, text: _Text, state: int) -> Optional[str]: ...