Skip to content

Commit

Permalink
Merge pull request #197 from thorwhalen/develop
Browse files Browse the repository at this point in the history
Minor typos.
  • Loading branch information
GrahamDumpleton authored Mar 5, 2022
2 parents 2f141c9 + 2417bdf commit 4662e64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/wrapt/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def _capture(target_wrapped):
# This one is a bit strange because binding was actually
# performed on the wrapper created by our decorator
# factory. We need to apply that binding to the decorator
# wrapper function which which the decorator factory
# wrapper function that the decorator factory
# was applied to.

target_wrapper = wrapper.__get__(None, instance)
Expand All @@ -408,7 +408,7 @@ def _capture(target_wrapped):
# This one is a bit strange because binding was actually
# performed on the wrapper created by our decorator
# factory. We need to apply that binding to the decorator
# wrapper function which which the decorator factory
# wrapper function that the decorator factory
# was applied to.

target_wrapper = wrapper.__get__(instance, type(instance))
Expand Down
2 changes: 1 addition & 1 deletion src/wrapt/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __init__(self, wrapped):
pass

# Python 3.10 onwards also does not allow itself to be overridden
# using a properly and it must instead be set explicitly.
# using a property and it must instead be set explicitly.

try:
object.__setattr__(self, '__annotations__', wrapped.__annotations__)
Expand Down

0 comments on commit 4662e64

Please sign in to comment.