mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
parent
362193db6a
commit
c87b4f9d71
2 changed files with 23 additions and 14 deletions
|
@ -39,6 +39,10 @@ if sys.version_info < (3,):
|
|||
result += c
|
||||
return result
|
||||
|
||||
def qualname(obj):
|
||||
# Not properly equivalent to __qualname__ in py3, but it doesn't matter.
|
||||
return obj.__name__
|
||||
|
||||
|
||||
else:
|
||||
|
||||
|
@ -88,3 +92,6 @@ else:
|
|||
else:
|
||||
result += chr(c)
|
||||
return result
|
||||
|
||||
def qualname(obj):
|
||||
return obj.__qualname__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue