From f29fc34c8bea3cc200277f14e8df1e91c4fd6a83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20K=C3=B6the?= Date: Mon, 6 Nov 2000 17:29:22 +0000 Subject: [PATCH] fixed a simple typo in the comments for to_python() [SVN r8154] --- gen_extclass.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen_extclass.py b/gen_extclass.py index 93070a89..d0891fc4 100644 --- a/gen_extclass.py +++ b/gen_extclass.py @@ -143,7 +143,7 @@ class PyExtensionClassConverters // Get an object which can be used to convert T to/from python. This is used // as a kind of concept check by the global template // - // from_python(PyObject*, py::Type) + // PyObject* to_python(const T& x) // // below this class, to prevent the confusing messages that would otherwise // pop up. Now, if T hasn't been wrapped as an extension class, the user @@ -160,7 +160,7 @@ class PyExtensionClassConverters // a compiler error. Instead, we access this function through the global // template // - // from_python(PyObject*, py::Type) + // PyObject* to_python(const T& x) // // defined below this class. Since template functions are instantiated only // on demand, errors will be avoided unless T is noncopyable and the user