Skip to content

Commit eb45dac

Browse files
committed
cuda.bindings: drop from __future__ import annotations from strdecode.py
No annotation in the file uses PEP 604 union syntax or forward references, so the import is unnecessary. Matches the style of the neighboring _fast_enum.py which does not carry it.
1 parent ec677f4 commit eb45dac

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

cuda_bindings/cuda/bindings/_internal/strdecode.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
44
"""Decode C strings returned by CUDA libraries with actionable failure context."""
55

6-
from __future__ import annotations
7-
86
# Cap sized for the #2118 mojibake without flooding exception text.
97
_PREVIEW_MAX_BYTES = 64
108

0 commit comments

Comments
 (0)