diff options
Diffstat (limited to 'lib3/yaml/constructor.py')
-rw-r--r-- | lib3/yaml/constructor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib3/yaml/constructor.py b/lib3/yaml/constructor.py index 2f6ed15..5e23c20 100644 --- a/lib3/yaml/constructor.py +++ b/lib3/yaml/constructor.py @@ -509,7 +509,7 @@ class Constructor(SafeConstructor): if '.' in name: module_name, object_name = name.rsplit('.', 1) else: - module_name = '__builtin__' + module_name = 'builtins' object_name = name try: __import__(module_name) |