We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 997c830 commit 8c51e7aCopy full SHA for 8c51e7a
βsrc/godot/builtins_pxd/class.pxd.j2β
@@ -30,7 +30,7 @@ cdef class {{ spec.name }}:
30
__{{ spec.name }}_constructor_0(&ret._gd_data, NULL)
31
return ret
32
{% if spec.name == "GDString" %}
33
- cdef inline gd_string_t to_pystr(self):
+ cdef inline object to_pystr(self):
34
return gdstring_to_pystr(&self._gd_data)
35
{% endif %}
36
{% for m in spec.members %}
βsrc/godot/builtins_pyx/class.pyx.j2β
@@ -35,7 +35,7 @@ cdef class {{ spec.name }}:
return "<{{ spec.name }}>"
37
def __str__(self):
38
- self.to_pystr()
+ return self.to_pystr()
39
40
{% if spec.constants %}
41
# Constants
0 commit comments