[Dev OpenGP] [13] Note for further versions (abstract classes supported in Python 2.6) |
[ Thread Index |
Date Index
| More opengp.tuxfamily.org/development Archives
]
Revision: 13
Author: alband85
Date: 2009-02-08 00:41:16 +0100 (Sun, 08 Feb 2009)
Log Message:
-----------
Note for further versions (abstract classes supported in Python 2.6)
Modified Paths:
--------------
trunk/src/AbstractMethod.py
Modified: trunk/src/AbstractMethod.py
===================================================================
--- trunk/src/AbstractMethod.py 2009-02-07 23:38:16 UTC (rev 12)
+++ trunk/src/AbstractMethod.py 2009-02-07 23:41:16 UTC (rev 13)
@@ -1,5 +1,9 @@
# See http://code.activestate.com/recipes/266468/ for further details
+#
+# Note for further versions: http://docs.python.org/library/abc.html
+# Abstract base classes will be supported in Python 2.6
+
class AbstractMethod (object):
"""Defines a class to create abstract methods