[Zope3-checkins] CVS: Zope3/lib/python/Zope/Publisher - mapply.py:1.3

Jim Fulton jim@zope.com
Thu, 19 Dec 2002 14:40:14 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/Publisher
In directory cvs.zope.org:/tmp/cvs-serv19905

Modified Files:
	mapply.py 
Log Message:
  revision 1.2.34.1
  date: 2002/12/19 17:26:05;  author: jim;  state: Exp;  lines: +2 -2
  Changed to call object directly without using apply.


=== Zope3/lib/python/Zope/Publisher/mapply.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/Publisher/mapply.py:1.2	Mon Jun 10 19:29:31 2002
+++ Zope3/lib/python/Zope/Publisher/mapply.py	Thu Dec 19 14:40:13 2002
@@ -58,7 +58,7 @@
     
     return unwrapped, wrapperCount
 
-def mapply(object, positional=(), request={}, call=apply):
+def mapply(object, positional=(), request={}):
     __traceback_info__ = object
 
     # we need deep access for intrspection. Waaa.
@@ -103,4 +103,4 @@
         args.append(v)
 
     args = tuple(args)
-    return call(object, args)
+    return object(*args)