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/metaclasses | |
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/metaclasses')
-rw-r--r-- | Demo/metaclasses/Eiffel.py | 2 | ||||
-rw-r--r-- | Demo/metaclasses/Meta.py | 4 | ||||
-rw-r--r-- | Demo/metaclasses/Synch.py | 2 | ||||
-rw-r--r-- | Demo/metaclasses/Trace.py | 1 |
4 files changed, 3 insertions, 6 deletions
diff --git a/Demo/metaclasses/Eiffel.py b/Demo/metaclasses/Eiffel.py index 68eb1cd..24fac14 100644 --- a/Demo/metaclasses/Eiffel.py +++ b/Demo/metaclasses/Eiffel.py @@ -87,7 +87,7 @@ class EiffelMethodWrapper(MetaMethodWrapper): if self.post: apply(self.post, (Result,) + args, kw) return Result - + class EiffelHelper(MetaHelper): __methodwrapper__ = EiffelMethodWrapper diff --git a/Demo/metaclasses/Meta.py b/Demo/metaclasses/Meta.py index 5534074..580f582 100644 --- a/Demo/metaclasses/Meta.py +++ b/Demo/metaclasses/Meta.py @@ -88,7 +88,7 @@ class MetaClass: init = lambda: None apply(init, args, kw) return inst - + Meta = MetaClass('Meta', (), {}) @@ -116,5 +116,3 @@ def _test(): if __name__ == '__main__': _test() - - diff --git a/Demo/metaclasses/Synch.py b/Demo/metaclasses/Synch.py index df70337..80e52d9 100644 --- a/Demo/metaclasses/Synch.py +++ b/Demo/metaclasses/Synch.py @@ -125,7 +125,7 @@ def _testLock(): lock.release() lock.acquire() - + thread.start_new_thread(f1, (lock,)) # Adds 2 thread.start_new_thread(f1, (lock, f1)) # Adds 3 thread.start_new_thread(f2, (lock,)) # Adds 1 diff --git a/Demo/metaclasses/Trace.py b/Demo/metaclasses/Trace.py index ea12cd9..69b9fab 100644 --- a/Demo/metaclasses/Trace.py +++ b/Demo/metaclasses/Trace.py @@ -142,4 +142,3 @@ def _test(): if __name__ == '__main__': _test() - |