aboutsummaryrefslogtreecommitdiff
path: root/devel/py-ruledispatch/files/patch-src-dispatch___init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-ruledispatch/files/patch-src-dispatch___init__.py')
-rw-r--r--devel/py-ruledispatch/files/patch-src-dispatch___init__.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/py-ruledispatch/files/patch-src-dispatch___init__.py b/devel/py-ruledispatch/files/patch-src-dispatch___init__.py
new file mode 100644
index 000000000000..58ce9f28ffd6
--- /dev/null
+++ b/devel/py-ruledispatch/files/patch-src-dispatch___init__.py
@@ -0,0 +1,20 @@
+--- src/dispatch/__init__.py.orig 2009-05-14 22:55:09.000000000 +0200
++++ src/dispatch/__init__.py 2009-05-14 22:55:45.000000000 +0200
+@@ -95,7 +95,7 @@
+ return decorate_assignment(callback)
+
+
+-def as(*decorators):
++def fas(*decorators):
+ """Use Python 2.4 decorators w/Python 2.2+
+
+ Example:
+@@ -103,7 +103,7 @@
+ import dispatch
+
+ class Foo(object):
+- [dispatch.as(classmethod)]
++ [dispatch.fas(classmethod)]
+ def something(cls,etc):
+ \"""This is a classmethod\"""
+ """