this repo has no description
1/* Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) */
2#pragma once
3
4#include "globals.h"
5#include "runtime.h"
6
7namespace py {
8
9// Returns the same value as Slice::length for SmallInt, but allows LargeInt.
10RawObject rangeLen(Thread* thread, const Object& start_obj,
11 const Object& stop_obj, const Object& step_obj);
12
13RawObject rangeIteratorNext(const RangeIterator& iter);
14
15void initializeRangeTypes(Thread* thread);
16
17} // namespace py