Skip to content

Commit 654865d

Browse files
committed
Rename ArrayApiStrictFlags to ArrayAPIStrictFlags
1 parent 22352d2 commit 654865d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

array_api_strict/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,10 @@
294294
set_array_api_strict_flags,
295295
get_array_api_strict_flags,
296296
reset_array_api_strict_flags,
297-
ArrayApiStrictFlags,
297+
ArrayAPIStrictFlags,
298298
)
299299

300-
__all__ += ['set_array_api_strict_flags', 'get_array_api_strict_flags', 'reset_array_api_strict_flags', 'ArrayApiStrictFlags']
300+
__all__ += ['set_array_api_strict_flags', 'get_array_api_strict_flags', 'reset_array_api_strict_flags', 'ArrayAPIStrictFlags']
301301

302302
from . import _version
303303
__version__ = _version.get_versions()['version']

array_api_strict/_flags.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def set_array_api_strict_flags(
115115
116116
get_array_api_strict_flags: Get the current values of flags.
117117
reset_array_api_strict_flags: Reset the flags to their default values.
118-
ArrayApiStrictFlags: A context manager to temporarily set the flags.
118+
ArrayAPIStrictFlags: A context manager to temporarily set the flags.
119119
120120
"""
121121
global API_VERSION, DATA_DEPENDENT_SHAPES, ENABLED_EXTENSIONS
@@ -178,7 +178,7 @@ def get_array_api_strict_flags():
178178
179179
set_array_api_strict_flags: Set one or more flags to a given value.
180180
reset_array_api_strict_flags: Reset the flags to their default values.
181-
ArrayApiStrictFlags: A context manager to temporarily set the flags.
181+
ArrayAPIStrictFlags: A context manager to temporarily set the flags.
182182
183183
"""
184184
return {
@@ -210,7 +210,7 @@ def reset_array_api_strict_flags():
210210
211211
get_array_api_strict_flags: Get the current values of flags.
212212
set_array_api_strict_flags: Set one or more flags to a given value.
213-
ArrayApiStrictFlags: A context manager to temporarily set the flags.
213+
ArrayAPIStrictFlags: A context manager to temporarily set the flags.
214214
215215
"""
216216
global API_VERSION, DATA_DEPENDENT_SHAPES, ENABLED_EXTENSIONS
@@ -220,7 +220,7 @@ def reset_array_api_strict_flags():
220220
ENABLED_EXTENSIONS = default_extensions
221221

222222

223-
class ArrayApiStrictFlags:
223+
class ArrayAPIStrictFlags:
224224
"""
225225
A context manager to temporarily set the array-api-strict flags.
226226

0 commit comments

Comments
 (0)