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

18 lines
374 B
Markdown
Raw Normal View History

2018-04-25 13:19:48 +02:00
# yes-thats-what-i-meant
When Python knows what you meant
Usage example:
```python
>>> from yes 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)
3
```
It will automagically do what you meant :^)
(The corrected print after the yes is not written by you)