Commit c8aae46
authored
[fix]: TypeError in phpdomain when fullname is _StrPath object
Resolves TypeError: can only concatenate str (not "_StrPath") to str
in sphinxcontrib/phpdomain.py:396 by explicitly converting fullname
to string before string formatting.
The add_target_and_index method was failing when fullname parameter
was a _StrPath object instead of a string. Added str() conversion
to ensure proper string concatenation in the error message.1 parent bbde5f8 commit c8aae46
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
| 396 | + | |
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
| |||
0 commit comments