mirror of
https://github.com/boostorg/python.git
synced 2026-01-21 17:12:22 +00:00
Added __setitem__ overload for slice handling
[SVN r1526]
This commit is contained in:
@@ -91,7 +91,8 @@ namespace indexing {
|
||||
, Policy const &policy)
|
||||
{
|
||||
pyClass.def ("__setitem__", &Algorithms::assign, policy);
|
||||
// *FIXME* add slicing support
|
||||
pyClass.def ("__setitem__"
|
||||
, slice_handler<Algorithms, Policy>::make_setitem (policy));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user