mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 06:42:27 +00:00
Moved to python_v2_API_restructure branch
[SVN r15354]
This commit is contained in:
@@ -138,7 +138,7 @@ BOOST_PYTHON_MODULE_INIT(list_ext)
|
||||
|
||||
def("exercise", exercise);
|
||||
|
||||
class_<X>("X", args<int>())
|
||||
class_<X>("X", init<int>())
|
||||
.def( "__repr__", x_rep)
|
||||
;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user