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 7ce810e..d1fd739 100644
--- a/representer.py
+++ b/representer.py
@@ -639,6 +639,7 @@ if PY2:
Representer.add_multi_representer(object, Representer.represent_object)
+Representer.add_multi_representer(type, Representer.represent_name)
from ruamel.yaml.comments import (
CommentedMap,