summaryrefslogtreecommitdiff
path: root/representer.py
diff options
context:
space:
mode:
Diffstat (limited to 'representer.py')
-rw-r--r--representer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/representer.py b/representer.py
index f0aea0a..820559b 100644
--- a/representer.py
+++ b/representer.py
@@ -1082,6 +1082,7 @@ class RoundTripRepresenter(SafeRepresenter):
return SafeRepresenter.represent_bool(self, data, anchor=anchor)
def represent_yaml_object(self, tag, data, cls, flow_style=None):
+ # type: (Any, Any, Any, Optional[Any]) -> Any
if hasattr(data, '__getstate__'):
state = data.__getstate__()
else: