Metadata-Version: 2.1
Name: teacher
Version: 0.0.1
Summary: attr: teacher.__doc__
Home-page: https://github.com/JulienPalard/teacher
Author: Julien Palard
Author-email: julien@palard.fr
License: MIT License
Keywords: i18n,teaching
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Description-Content-Type: text/markdown; charset=UTF-8

# Teacher

This module is a POC on how we could help newcomers better understand
some exceptions.

## Demo

Importing `teacher` in an REPL or at the top of a file enable it, like:

```python
import teacher

a = "Foo"
b = "Bar"

print(a * "bar")
```

Gives:
```bash
$ python test.py
test.py:6: TypeError: can't multiply sequence by non-int of type 'str'
You tried to multiply a by 'bar'
which is not allowed, the sequence a can only be multiplied by an integer.
```


