Skip to content

Commit 5d96af5

Browse files
authored
Merge pull request #56 from pquentin/replacements-docs
Fix Rule.replacements docs
2 parents 6b6ca3b + 9aae08d commit 5d96af5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ customized :code:`unasync.Rule` instances to :code:`unasync.cmdclass_build_py()`
6767
# This rule's 'fromdir' is more specific so will take precedent
6868
# over the above rule if the path is within /ahip/tests/...
6969
# This rule adds an additional token replacement over the default replacements.
70-
unasync.Rule("/ahip/tests/", "/hip/tests/", replacements={"ahip", "hip"}),
70+
unasync.Rule("/ahip/tests/", "/hip/tests/", replacements={"ahip": "hip"}),
7171
])},
7272
...
7373
)

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ customized :code:`unasync.Rule` instances to :code:`unasync.cmdclass_build_py()`
8181
# This rule's 'fromdir' is more specific so will take precedent
8282
# over the above rule if the path is within /ahip/tests/...
8383
# This rule adds an additional token replacement over the default replacements.
84-
unasync.Rule("/ahip/tests/", "/hip/tests/", replacements={"ahip", "hip"}),
84+
unasync.Rule("/ahip/tests/", "/hip/tests/", replacements={"ahip": "hip"}),
8585
])},
8686
...
8787
)

0 commit comments

Comments
 (0)