Skip to content

Commit 09e8eed

Browse files
committed
suggested fix for autocall failure
1 parent 02545e9 commit 09e8eed

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

IPython/core/prefilter.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,10 @@ def check(self, line_info):
512512
callable(oinfo.obj)
513513
and (not self.exclude_regexp.match(line_info.the_rest))
514514
and self.function_name_regexp.match(line_info.ifun)
515-
and line_info.raw_the_rest.startswith(" ")
516-
or not line_info.raw_the_rest.strip()
515+
and (
516+
line_info.raw_the_rest.startswith(" ")
517+
or not line_info.raw_the_rest.strip()
518+
)
517519
):
518520
return self.prefilter_manager.get_handler_by_name("auto")
519521
else:

0 commit comments

Comments
 (0)