diff options
author | Anthon van der Neut <anthon@mnt.org> | 2021-12-26 16:05:10 +0100 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2021-12-26 16:05:10 +0100 |
commit | e3439a8768e067134385cb2ad4746e9dcbcb851a (patch) | |
tree | 198b6de9ae5ffe1c7baa10f660add34354c76eab /representer.py | |
parent | 1dd3366f57e1feff1aa2aeb01142b63520bac0a1 (diff) | |
download | ruamel.yaml-e3439a8768e067134385cb2ad4746e9dcbcb851a.tar.gz |
fix mypy issues emitter.py0.17.19
Diffstat (limited to 'representer.py')
-rw-r--r-- | representer.py | 1 |
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: |