2
0
mirror of https://github.com/boostorg/python.git synced 2026-02-02 09:02:15 +00:00
[SVN r12146]
This commit is contained in:
Dave Abrahams
2001-12-24 19:27:39 +00:00
parent c494649dde
commit 1f78c74085
73 changed files with 5947 additions and 581 deletions

View File

@@ -91,7 +91,7 @@ BOOST_PYTHON_MODULE_INIT(simple_vector)
vector_double(this_module, "vector_double");
vector_double.def(python::constructor<>());
vector_double.def(python::constructor<const int>());
vector_double.def(python::constructor<int>());
vector_double.def(python::constructor<python::tuple>());
vector_double.def(&std::vector<double>::size, "__len__");
vector_double.def(getitem, "__getitem__");