yes-thats-what-i-meant/README.md

371 B

yes-thats-what-i-meant

When Python knows what you meant

Requires python 3.6 and above.

Usage example:

>>> import yes
>>> print 3
  File "<stdin>", line 1
    print 3
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(3)?
>>> yes
>>> print(3)    # <-- Automagically inserted
3

It will automagically do what you meant :^)