Skip to content
Snippets Groups Projects
Commit b387dd36 authored by Bogdan Opanchuk's avatar Bogdan Opanchuk
Browse files

Fixed an obsolete access to ``obj_ptr`` attribute.

parent db95f76b
No related branches found
No related tags found
No related merge requests found
...@@ -314,7 +314,7 @@ def _add_functionality(): ...@@ -314,7 +314,7 @@ def _add_functionality():
# {{{ Context # {{{ Context
def context_repr(self): def context_repr(self):
return "<pyopencl.Context at 0x%x on %s>" % (self.obj_ptr, return "<pyopencl.Context at 0x%x on %s>" % (self.int_ptr,
", ".join(repr(dev) for dev in self.devices)) ", ".join(repr(dev) for dev in self.devices))
def context_get_cl_version(self): def context_get_cl_version(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment