%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/lib/python3/dist-packages/pythran/pythonic/builtins/
Upload File :
Create Path :
Current File : //proc/thread-self/root/lib/python3/dist-packages/pythran/pythonic/builtins/slice.hpp

#ifndef PYTHONIC_BUILTIN_SLICE_HPP
#define PYTHONIC_BUILTIN_SLICE_HPP

#include "pythonic/include/builtins/slice.hpp"
#include "pythonic/types/slice.hpp"

PYTHONIC_NS_BEGIN

namespace builtins
{

  namespace anonymous
  {
    types::contiguous_slice slice(types::none<long> stop)
    {
      return {types::none<long>(), stop};
    }
    types::contiguous_slice slice(types::none<long> start,
                                  types::none<long> stop)
    {
      return {start, stop};
    }
    types::slice slice(types::none<long> start, types::none<long> stop,
                       types::none<long> step)
    {
      return {start, stop, step};
    }
  }
}
PYTHONIC_NS_END

#endif

Zerion Mini Shell 1.0