##// END OF EJS Templates
fix couple of use of apply
Matthias BUSSONNIER -
Show More
@@ -1231,7 +1231,7 b' if __name__ == "__main__":'
1231 1231 try:
1232 1232 print spam(1, (2, 3))
1233 1233 except:
1234 apply(handler, sys.exc_info() )
1234 handler(*sys.exc_info())
1235 1235 print ''
1236 1236
1237 1237 handler = VerboseTB()
@@ -1239,6 +1239,6 b' if __name__ == "__main__":'
1239 1239 try:
1240 1240 print spam(1, (2, 3))
1241 1241 except:
1242 apply(handler, sys.exc_info() )
1242 handler(*sys.exc_info())
1243 1243 print ''
1244 1244
General Comments 0
You need to be logged in to leave comments. Login now