Skip to content

Commit 8d75dd7

Browse files
committed
Fix header
1 parent 434589b commit 8d75dd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coconut/compiler/templates/header.py_template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _coconut_lazy_module(name, on_import=None, attr=None):
4545
return lazy_method
4646
for method_name in ("__repr__", "__call__", "__or__", "__ror__", "__reduce__", "__reduce_ex__", "__str__", "__hash__", "__format__", "__eq__", "__lt__", "__le__", "__gt__", "__ge__", "__contains__", "__iter__", "__reversed__", "__getitem__", "__setitem__", "__delitem__", "__missing__", "__add__", "__sub__", "__mul__", "__floordiv__", "__truediv__", "__mod__", "__pow__", "__matmul__", "__divmod__", "__neg__", "__pos__", "__abs__", "__invert__", "__and__", "__xor__", "__lshift__", "__rshift__", "__enter__", "__exit__", "__aiter__", "__await__", "__aenter__", "__aexit__", "__copy__", "__deepcopy__"):
4747
_coconut_type.__setattr__(lazy_obj, method_name, make_lazy_method(method_name))
48-
return lazy_obj(_coconut_py_str(name)) if attr is None else lazy_obj(_coconut_py_str(name), (), {empty_dict})
48+
return lazy_obj(_coconut_py_str(name)) if attr is None else lazy_obj(_coconut_py_str(name), (), {{}})
4949
@_coconut_wraps(_coconut_py_super)
5050
def _coconut_super(type=None, object_or_type=None):
5151
if type is None:

coconut/root.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
VERSION = "3.2.0"
2727
VERSION_NAME = None
2828
# False for release, int >= 1 for develop
29-
DEVELOP = 12
29+
DEVELOP = 13
3030
ALPHA = False # for pre releases rather than post releases
3131

3232
assert DEVELOP is False or DEVELOP >= 1, "DEVELOP must be False or an int >= 1"

0 commit comments

Comments
 (0)