hodor!
Project description
HODOR
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
Hodor works equally well in python2 and python3.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hodor-2!0.tar.gz
(1.8 kB
view details)
Built Distribution
hodor-2!0-py3-none-any.whl
(2.1 kB
view details)
File details
Details for the file hodor-2!0.tar.gz
.
File metadata
- Download URL: hodor-2!0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13e82cd9712e164f6ff119f2179dff9363419721cf4ca07fa5fe57b6f872eae9 |
|
MD5 | 9a5e1ba44ef5e372fd8476d412cd12c8 |
|
BLAKE2b-256 | c69e67f430eca9f28ca931becb0704a1c3939095d4236553482e74bb88018e5e |
File details
Details for the file hodor-2!0-py3-none-any.whl
.
File metadata
- Download URL: hodor-2!0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 943e5b45252447cdd9bf0e655e0c7b3d48b491f68ba55745c4129c76355db02a |
|
MD5 | c3a5eeb51a29432652d9f40f03ecd3b1 |
|
BLAKE2b-256 | 719e81e2b4645d4a3db4bf89f51c8758da421821235472fd893ad239a38ea025 |