Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #227 from msakai/patch-1
Browse files Browse the repository at this point in the history
fix typo in error message: @taticmethod -> @staticmethod
  • Loading branch information
irmen committed Feb 1, 2020
2 parents 2daeb92 + 9851e18 commit 630bbdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pyro4/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ def expose(method_or_class):
if inspect.ismethoddescriptor(method_or_class):
attrname = method_or_class.__get__(None, dict).__name__
raise AttributeError("using @expose on a classmethod/staticmethod must be done "
"after @classmethod/@taticmethod. Method: " + attrname)
"after @classmethod/@staticmethod. Method: " + attrname)
else:
raise AttributeError("@expose cannot determine what this is: " + repr(method_or_class))
if util.is_private_attribute(attrname):
Expand Down

0 comments on commit 630bbdc

Please sign in to comment.