diff --git a/src/wrap_constants.cpp b/src/wrap_constants.cpp
index e816b677ab95a9b14c4ed5292170e358c578d95f..0cc20d8fc8e1a4bb1e25ec637ae31ccc147a8eb2 100644
--- a/src/wrap_constants.cpp
+++ b/src/wrap_constants.cpp
@@ -821,7 +821,7 @@ void pyopencl_expose_constants(py::module &m)
   }
 
   {
-    py::class_<pipe_info> cls(m, "pipe_properties");
+    py::class_<pipe_properties> cls(m, "pipe_properties");
 #if PYOPENCL_CL_VERSION >= 0x2000
     ADD_ATTR(PIPE_, PACKET_SIZE);
     ADD_ATTR(PIPE_, MAX_PACKETS);