Skip to main content

hodor!

Project description

For any operation, hodor will always say hodor.

>>> from hodor import hodor
>>> hodor + 1
hodor
>>> 3 ** hodor
hodor
>>> hodor().foo['bar']
hodor

What’s more, hodor is a module, and a class.

>>> import hodor
>>> hodor
hodor
>>> class myclass(hodor):
...     pass
>>> myclass()
hodor

Hodor is also a metaclass!

>>> myclass
hodor
>>> type(myclass)
hodor

My favorite: hodor is an instance of itself.

>>> type(hodor)
hodor
>>> type(hodor) is hodor
True

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
hodor-1!0.tar.gz (1.6 kB) Copy SHA256 hash SHA256 Source None Oct 14, 2015

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