Commits

Armin Rigo committed 9a7fc13

Document this

  • Participants
  • Parent commits 5da3dbb

Comments (0)

Files changed (1)

File doc/source/index.rst

    cdata object that is a "view" of all items from ``start`` to ``stop``.
    It is a cdata of type "array" (so e.g. passing it as an argument to a
    C function would just convert it to a pointer to the ``start`` item).
-   It makes cdata's of type "array" behave more like a Python list, but
-   as with indexing, negative bounds mean really negative indices, like in
+   This makes cdata's of type "array" behave more like a Python list, but
+   ``start`` and ``stop`` are not optional and a ``step`` is not supported.
+   As with indexing, negative bounds mean really negative indices, like in
    C.  As for slice assignment, it accepts any iterable, including a list
    of items or another array-like cdata object, but the length must match.
    (Note that this behavior differs from initialization: e.g. if you pass