diff options
author | Jakob Lykke Andersen <Jakob@caput.dk> | 2020-05-17 13:39:19 +0300 |
---|---|---|
committer | Jakob Lykke Andersen <Jakob@caput.dk> | 2020-05-17 13:39:19 +0300 |
commit | 2070f836c53025f7684e72f6bb608031e0b3407f (patch) | |
tree | 10d789863c7fc42f35fd079c12c3c81b6188d40c /sphinx/transforms | |
parent | ff7545a19163e78bdd2bfeb8e9d8832e4582196a (diff) |
Remember Pythons tuple syntax
Diffstat (limited to 'sphinx/transforms')
-rw-r--r-- | sphinx/transforms/post_transforms/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/transforms/post_transforms/__init__.py b/sphinx/transforms/post_transforms/__init__.py index 742da9d82..4499e3376 100644 --- a/sphinx/transforms/post_transforms/__init__.py +++ b/sphinx/transforms/post_transforms/__init__.py @@ -93,7 +93,7 @@ class ReferencesResolver(SphinxPostTransform): if newnode is None: newnode = self.app.emit_firstresult('missing-reference', self.env, node, contnode, - allowed_exceptions=(NoUri)) + allowed_exceptions=(NoUri,)) # still not found? warn if node wishes to be warned about or # we are in nit-picky mode if newnode is None: |