Skip to content

Commit

Permalink
Py3 fix: xrange
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Jul 5, 2015
1 parent 602db4a commit c04b412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyopencl/__init__.py
Expand Up @@ -642,7 +642,7 @@ def kernel__set_set_args_body(self, body, num_passed_args):
PythonCodeGenerator,
Indentation)

arg_names = ["arg%d" % i for i in xrange(num_passed_args)]
arg_names = ["arg%d" % i for i in range(num_passed_args)]

# {{{ wrap in error handler

Expand Down

0 comments on commit c04b412

Please sign in to comment.