Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions spec/API_specification/array_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@
from .statistical_functions import *
from .utility_functions import *
from . import linalg


__array_api_version__: str = "YYYY.MM"
"""
String representing the version of the array API specification which the conforming implementation adheres to.
"""
1 change: 1 addition & 0 deletions spec/API_specification/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ API specification
statistical_functions
type_promotion
utility_functions
version
22 changes: 22 additions & 0 deletions spec/API_specification/version.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Version
=======

Array API specification for versioning.

A conforming implementation of the array API standard must provide a `__array_api_version__` attribute - see :ref:`api-versioning` for details.


Objects in API
--------------

.. currentmodule:: array_api

..
NOTE: please keep the functions in alphabetical order

.. autosummary::
:toctree: generated
:template: attribute.rst
:nosignatures:

__array_api_version__