rset.py
changeset 4475 37c413a07216
parent 4427 410c99a917fa
child 4850 bd640b137f50
child 4939 349af486f5ed
--- a/rset.py	Fri Feb 05 12:13:48 2010 +0100
+++ b/rset.py	Fri Feb 05 12:14:36 2010 +0100
@@ -373,7 +373,7 @@
         return entity
 
     @cached
-    def get_entity(self, row, col=None):
+    def get_entity(self, row, col):
         """special method for query retreiving a single entity, returns a
         partially initialized Entity instance.
 
@@ -387,11 +387,6 @@
 
         :return: the partially initialized `Entity` instance
         """
-        if col is None:
-            from warnings import warn
-            msg = '[3.2] col parameter will become mandatory in future version'
-            warn(msg, DeprecationWarning, stacklevel=3)
-            col = 0
         etype = self.description[row][col]
         try:
             eschema = self.vreg.schema.eschema(etype)