Get rid of many apply() calls.
diff --git a/Lib/xdrlib.py b/Lib/xdrlib.py
index 2706047..dfb9742 100644
--- a/Lib/xdrlib.py
+++ b/Lib/xdrlib.py
@@ -246,7 +246,7 @@
for method, args in packtest:
print 'pack test', count,
try:
- apply(method, args)
+ method(*args)
print 'succeeded'
except ConversionError, var:
print 'ConversionError:', var.msg
@@ -272,7 +272,7 @@
print 'unpack test', count,
try:
if succeedlist[count]:
- x = apply(method, args)
+ x = method(*args)
print pred(x) and 'succeeded' or 'failed', ':', x
else:
print 'skipping'