2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 05:42:30 +00:00

Fix mistaken naming of __contains__ in one case

[SVN r20997]
This commit is contained in:
Raoul Gough
2003-11-28 20:17:04 +00:00
parent aa0dc52c94
commit 31bc1a4466

View File

@@ -436,7 +436,7 @@ namespace boost { namespace python { namespace indexing {
Policy const &policy)
{
pyClass.def ("count", Algorithms::count, policy);
pyClass.def ("contains", Algorithms::contains, policy);
pyClass.def ("__contains__", Algorithms::contains, policy);
}
};