Skip to content

Commit 1a17131

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5822fd2 commit 1a17131

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wsimod/extensions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
>>> return {}
3535
3636
If patching a method of an attribute, the `is_attr` argument should be set to `True` and
37-
the target should include the attribute name and the method name, all separated by
37+
the target should include the attribute name and the method name, all separated by
3838
periods, eg. `attribute_name.method_name`.
3939
4040
It should be noted that the patched function should have the same signature as the
@@ -43,7 +43,7 @@
4343
should be the node object itself, which will typically be named `self`.
4444
4545
The overridden method or attribute can be accessed within the patched function using the
46-
`_patched_{method_name}` attribute of the object, eg. `self._patched_pull_distributed`.
46+
`_patched_{method_name}` attribute of the object, eg. `self._patched_pull_distributed`.
4747
The exception to this is when patching an item, in which case the original item is no
4848
available to be used within the overriding function.
4949

0 commit comments

Comments
 (0)