Skip to content

Commit 0b47a05

Browse files
committed
Fix issues with set_array_api_strict_flags docstring
1 parent 64e7236 commit 0b47a05

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

array_api_strict/_flags.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ def set_array_api_strict_flags(
5959
Flags are global variables that enable or disable array-api-strict
6060
behaviors.
6161
62+
The flags can also be changed by setting :ref:`environment variables <environment-variables>`.
63+
6264
.. note::
6365
6466
This function is **not** part of the array API standard. It only exists
@@ -95,8 +97,8 @@ def set_array_api_strict_flags(
9597
9698
- `unique_all()`, `unique_counts()`, `unique_inverse()`, and `unique_values()`.
9799
- `nonzero()`
98-
- `repeat()` when the `repeats` argument is an array (requires 2023.12
99-
version of the standard)
100+
- `repeat()` when the `repeats` argument is an array (requires the
101+
2023.12 version of the standard)
100102
101103
Note that while boolean indexing is also data-dependent, it is
102104
controlled by a separate `boolean_indexing` flag (see above).
@@ -110,8 +112,6 @@ def set_array_api_strict_flags(
110112
is ``{default_extensions}``. Note that some extensions require a
111113
minimum version of the standard.
112114
113-
The flags can also be changed by setting :ref:`environment variables
114-
<environment-variables>`.
115115
116116
Examples
117117
--------

0 commit comments

Comments
 (0)