Skip to content

Commit 319d844

Browse files
authored
Merge pull request #74 from kromodoro/patch-1
[fix]: TypeError in phpdomain when fullname is _StrPath object
2 parents bbde5f8 + c8aae46 commit 319d844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinxcontrib/phpdomain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def add_target_and_index(self, name_cls, sig, signode):
393393
objects = self.env.domaindata["php"]["objects"]
394394
if fullname in objects:
395395
self.state_machine.reporter.warning(
396-
"duplicate object description of %s, " % fullname
396+
"duplicate object description of %s, " % str(fullname)
397397
+ "other instance in "
398398
+ self.env.doc2path(objects[fullname][0]),
399399
line=self.lineno,

0 commit comments

Comments
 (0)