diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-08-21 22:47:17 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-08-21 22:47:17 -0500 |
commit | 5191f275204cb994330fb462b6d3f010dfe06130 (patch) | |
tree | 5a392e43500183306bc314c380a9a52209cf9576 | |
parent | 9751cea9b5e69e906f11e0203bf69ebc65dc9c0e (diff) | |
download | six-5191f275204cb994330fb462b6d3f010dfe06130.tar.gz |
mention add_metaclass in with_metaclass docs
-rw-r--r-- | documentation/index.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/documentation/index.rst b/documentation/index.rst index 524eee2..8343d0b 100644 --- a/documentation/index.rst +++ b/documentation/index.rst @@ -279,6 +279,9 @@ Python 2 and 3. class MyClass(with_metaclass(Meta, Base)): pass + Another way to set a metaclass on a class is with the :func:`add_metaclass` + decorator. + .. function:: add_metaclass(metaclass) |