diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-08-21 22:55:05 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-08-21 22:55:05 -0500 |
commit | 5315a4a4b9ec69a9d06a50937cab02d9d734e6a0 (patch) | |
tree | 4d936b1eb21f49b0f29e127deb40a4601ba6e181 | |
parent | 84c60db45d0e2617f07b729e37668e53e003aa4a (diff) | |
download | six-5315a4a4b9ec69a9d06a50937cab02d9d734e6a0.tar.gz |
use pass instead of ...
-rw-r--r-- | documentation/index.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/index.rst b/documentation/index.rst index b4a589f..a5bf02e 100644 --- a/documentation/index.rst +++ b/documentation/index.rst @@ -292,12 +292,12 @@ Python 2 and 3. @add_metaclass(MyMeta) class MyClass(object): - ... + pass That code produces a class equivalent to :: class MyClass(object, metaclass=MyMeta): - ... + pass on Python 3 or :: @@ -310,7 +310,7 @@ Python 2 and 3. decorator can be emulated on Python 2.4 and 2.5 like so:: class MyClass(object): - ... + pass MyClass = add_metaclass(Meta)(MyClass) |