2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +00:00

first attempt to implement docstrings with nice signatures

[SVN r22675]
This commit is contained in:
Nikolay Mladenov
2004-04-20 21:46:34 +00:00
parent 95e7da6203
commit addbbc8210
9 changed files with 439 additions and 51 deletions

View File

@@ -328,5 +328,15 @@ BOOST_PYTHON_DEFINE_STR_METHOD(title, 0)
BOOST_PYTHON_DEFINE_STR_METHOD(translate, 1)
BOOST_PYTHON_DEFINE_STR_METHOD(translate, 2)
BOOST_PYTHON_DEFINE_STR_METHOD(upper, 0)
static struct register_str_pytype_ptr
{
register_str_pytype_ptr()
{
const_cast<converter::registration &>(
converter::registry::lookup(boost::python::type_id<boost::python::str>())
).m_class_object = &PyString_Type;
}
}register_str_pytype_ptr_;
}}} // namespace boost::python