Show More
@@ -830,7 +830,8 b' class AutoHandler(PrefilterHandler):' | |||||
830 | # We only apply it to argument-less calls if the autocall |
|
830 | # We only apply it to argument-less calls if the autocall | |
831 | # parameter is set to 2. We only need to check that autocall is < |
|
831 | # parameter is set to 2. We only need to check that autocall is < | |
832 | # 2, since this function isn't called unless it's at least 1. |
|
832 | # 2, since this function isn't called unless it's at least 1. | |
833 |
if not the_rest and (self.shell.autocall < 2) and not force_auto |
|
833 | if (not the_rest and (self.shell.autocall < 2) and not force_auto) \ | |
|
834 | or the_rest.lstrip().startswith("("): | |||
834 | newcmd = '%s %s' % (ifun,the_rest) |
|
835 | newcmd = '%s %s' % (ifun,the_rest) | |
835 | auto_rewrite = False |
|
836 | auto_rewrite = False | |
836 | else: |
|
837 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now