mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
*** empty log message ***
This commit is contained in:
parent
c150bf0688
commit
265532dafc
@ -170,7 +170,7 @@ class FFIExternalObject:
|
|||||||
else:
|
else:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
def __str__(self):
|
def __repr__(self):
|
||||||
# Lots of Panda classes have an output function defined that takes an Ostream
|
# Lots of Panda classes have an output function defined that takes an Ostream
|
||||||
# We create a LineStream for the output function to write to, then we extract
|
# We create a LineStream for the output function to write to, then we extract
|
||||||
# the string out of it and return it as our str
|
# the string out of it and return it as our str
|
||||||
@ -185,8 +185,7 @@ class FFIExternalObject:
|
|||||||
# In any case, return the baseRepr
|
# In any case, return the baseRepr
|
||||||
return baseRepr
|
return baseRepr
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
def __repr__(self):
|
|
||||||
# This is a more complete version of printing which shows the object type
|
# This is a more complete version of printing which shows the object type
|
||||||
# and pointer, plus the output from write() or output() whichever is defined
|
# and pointer, plus the output from write() or output() whichever is defined
|
||||||
# Print this info for all objects
|
# Print this info for all objects
|
||||||
|
Loading…
x
Reference in New Issue
Block a user