Shows special methods as the python syntax that invokes them
Project description
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
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
Close
Hashes for sphinxcontrib-prettyspecialmethods-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46acdd19a6d8aa79a1c9b3fc5b9d6bd46ed36e10d018dc3e7b84f7ad54d49d45 |
|
MD5 | 8acba0336a0eba316c0db874bce60f27 |
|
BLAKE2b-256 | 43d4f76d1dcd4dc9c9f885cceb0d7270dd1f1f3ee71f838bd486f7eeb7b4c9da |