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:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user