From de1ea325bd16e949633cef82fcf173d2cc0fc333 Mon Sep 17 00:00:00 2001 From: Raoul Gough Date: Wed, 10 Sep 2003 15:38:52 +0000 Subject: [PATCH] Added __setitem__ overload for slice handling [SVN r1526] --- include/boost/python/suite/indexing/container_suite.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/python/suite/indexing/container_suite.hpp b/include/boost/python/suite/indexing/container_suite.hpp index e75bffbf..517692a2 100755 --- a/include/boost/python/suite/indexing/container_suite.hpp +++ b/include/boost/python/suite/indexing/container_suite.hpp @@ -91,7 +91,8 @@ namespace indexing { , Policy const &policy) { pyClass.def ("__setitem__", &Algorithms::assign, policy); - // *FIXME* add slicing support + pyClass.def ("__setitem__" + , slice_handler::make_setitem (policy)); } };