Skip to main content

attr: teacher.__doc__

Project description


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


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

import teacher

a = "Foo"
b = "Bar"

print(a * "bar")


$ python 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for teacher, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size teacher-0.0.1-py3-none-any.whl (2.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size teacher-0.0.1.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page