Skip to content

Commit bdeddb0

Browse files
committed
Make docs match behavior
1 parent c50ee15 commit bdeddb0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎cuda_bindings_13/docs/source/module/v2_migration.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3459,13 +3459,13 @@ Functions
34593459
-
34603460
* - ``nvrtcInstallBundledHeaders``
34613461
- ``install_bundled_headers``
3462-
- ``flags`` takes ``InstallHeadersFlag`` values. Returns the optional error message (``bytes`` or ``None``).
3462+
- ``flags`` takes ``InstallHeadersFlag`` values. Returns the optional error message as ``bytes``, empty (``b""``) when there is none.
34633463
* - ``nvrtcGetBundledHeadersInfo``
34643464
- ``get_bundled_headers_info``
3465-
- Returns ``(BundledHeadersInfo, error_log)`` as a tuple, with ``error_log`` set to ``None`` on success.
3465+
- Returns ``(BundledHeadersInfo, error_log)`` as a tuple, with ``error_log`` empty (``b""``) when there is no error message.
34663466
* - ``nvrtcRemoveBundledHeaders``
34673467
- ``remove_bundled_headers``
3468-
- Returns the optional error message (``bytes`` or ``None``).
3468+
- Returns the optional error message as ``bytes``, empty (``b""``) when there is none.
34693469
* - ``nvrtcGetErrorString``
34703470
- ``get_error_string``
34713471
- Takes the result code as an ``int``. Returns ``str`` (legacy returned ``bytes``).

0 commit comments

Comments
 (0)