Shows special methods as the python syntax that invokes them
Overview
This module renders docs like
.. method:: __add__(other)
Docstring
as
- self + other
Docstring
After installing this module, add the following to your conf.py to enable it
extensions = [
... # your other extensions
'sphinxcontrib.prettyspecialmethods',
]
Links
Metadata
Release files for sphinxcontrib-prettyspecialmethods 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sphinxcontrib-prettyspecialmethods-0.1.0.tar.gz | 9.0 kB | Details |
Release files / sphinxcontrib-prettyspecialmethods-0.1.0.tar.gz
| Download URL | sphinxcontrib-prettyspecialmethods-0.1.0.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46acdd19a6d8aa79a1c9b3fc5b9d6bd46ed36e10d018dc3e7b84f7ad54d49d45
|
|
BLAKE2b-256 checksum How to use checksums |
43d4f76d1dcd4dc9c9f885cceb0d7270dd1f1f3ee71f838bd486f7eeb7b4c9da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0
|