mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
gh-105069: Add a readline-like callable to the tokenizer to consume input iteratively (#105070)
This commit is contained in:
parent
2ea34cfb3a
commit
9216e69a87
7 changed files with 276 additions and 98 deletions
|
@ -2203,7 +2203,7 @@ def _signature_strip_non_python_syntax(signature):
|
|||
add(string)
|
||||
if (string == ','):
|
||||
add(' ')
|
||||
clean_signature = ''.join(text).strip()
|
||||
clean_signature = ''.join(text).strip().replace("\n", "")
|
||||
return clean_signature, self_parameter
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue