attr: teacher.__doc__
Project description
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:
import teacher
a = "Foo"
b = "Bar"
print(a * "bar")
Gives:
$ 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
teacher-0.0.1.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file teacher-0.0.1.tar.gz
.
File metadata
- Download URL: teacher-0.0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c3c1c6934cc677c62512d5129def18d1d938e2d647e32bf7edd2e61859967d7 |
|
MD5 | bcb11af090d24ef29deb2c1e5fc037d8 |
|
BLAKE2b-256 | de5eb0e68c855a2d4862fdffbfd4b009155336d7e118d09b1645da590b196856 |
File details
Details for the file teacher-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: teacher-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05510e0131fa0b43231f0d1cb15b7f20bc3ade71017276ffd52d63c501cf9605 |
|
MD5 | beaf9876d23ffabbc0fa39567e0cc2a1 |
|
BLAKE2b-256 | 359e3e3b755a3826608fcc9849d65f5abe37946b4a2d93169c3d6f93f182b082 |