diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-18 05:56:09 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-18 05:56:09 (GMT) |
commit | e6ddc8b20b493fef2e7cffb2e1351fe1d238857e (patch) | |
tree | 3b3d8fcd92e1d8f0cad44297d5c2ae8522bb984c /Demo/newmetaclasses | |
parent | 4fba4521e836e0cab08316592392b1e4d06eb6ef (diff) | |
download | cpython-e6ddc8b20b493fef2e7cffb2e1351fe1d238857e.zip cpython-e6ddc8b20b493fef2e7cffb2e1351fe1d238857e.tar.gz cpython-e6ddc8b20b493fef2e7cffb2e1351fe1d238857e.tar.bz2 |
Whitespace normalization. Ran reindent.py over the entire source tree.
Diffstat (limited to 'Demo/newmetaclasses')
-rw-r--r-- | Demo/newmetaclasses/Eiffel.py | 5 | ||||
-rw-r--r-- | Demo/newmetaclasses/Enum.py | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/Demo/newmetaclasses/Eiffel.py b/Demo/newmetaclasses/Eiffel.py index 1dd7e6c..78a8bb5 100644 --- a/Demo/newmetaclasses/Eiffel.py +++ b/Demo/newmetaclasses/Eiffel.py @@ -48,7 +48,7 @@ class EiffelMetaClass1(EiffelBaseMetaClass): method.__doc__ = func.__doc__ return method - + make_eiffel_method = staticmethod(make_eiffel_method) class EiffelMethodWrapper: @@ -66,7 +66,7 @@ class EiffelDescriptor(object): self._func = func self._pre = pre self._post = post - + self.__name__ = func.__name__ self.__doc__ = func.__doc__ @@ -141,4 +141,3 @@ def _test(metaclass): if __name__ == "__main__": _test(EiffelMetaClass1) _test(EiffelMetaClass2) - diff --git a/Demo/newmetaclasses/Enum.py b/Demo/newmetaclasses/Enum.py index 5d490a9..2a5823b 100644 --- a/Demo/newmetaclasses/Enum.py +++ b/Demo/newmetaclasses/Enum.py @@ -175,4 +175,3 @@ def _test2(): if __name__ == '__main__': _test() _test2() - |