mirror of
https://github.com/boostorg/python.git
synced 2026-01-31 08:22:18 +00:00
Fixed get_slice
[SVN r19421]
This commit is contained in:
@@ -64,7 +64,7 @@ namespace boost { namespace python {
|
||||
static object
|
||||
get_slice(Container& container, index_type from, index_type to)
|
||||
{
|
||||
return object(Container(container.begin(), container.end()));
|
||||
return object(Container(container.begin()+from, container.begin()+to));
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user