diff options
author | Thomas Kluyver <takowl@gmail.com> | 2012-12-04 12:46:19 +0000 |
---|---|---|
committer | Thomas Kluyver <takowl@gmail.com> | 2012-12-04 12:46:19 +0000 |
commit | 410fd8f0b3888ea5fe9e0441d9375430daaae7fa (patch) | |
tree | 62905bd38a54259bd28cdf0d67324974a0d215b4 /docs | |
parent | 0c7b42f089f297a212df302be5024962de2d53fc (diff) |
Add support for Mime type aliases and subclasses.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/mime.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/mime.rst b/docs/mime.rst index 78d349e..17dba09 100644 --- a/docs/mime.rst +++ b/docs/mime.rst @@ -32,7 +32,7 @@ MimeType objects .. autofunction:: lookup .. autoclass:: MIMEtype - :members: get_comment + :members: canonical, inherits_from .. attribute:: media @@ -41,3 +41,8 @@ MimeType objects .. attribute:: subtype e.g. 'plain' + + .. automethod:: get_comment + + .. versionadded:: 0.25 + :meth:`MIMEtype.canonical` and :meth:`MIMEtype.inherits_from`. |