Skip to main content
https://travis-ci.org/sphinx-contrib/prettyspecialmethods.svg?branch=master

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',
]

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)

Source distribution for sphinxcontrib-prettyspecialmethods 0.1.0
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page