From fe758f3e0577cedb12e5edd0f6219cb5f30134c2 Mon Sep 17 00:00:00 2001 From: Shane Liesegang Date: Fri, 2 Aug 2019 23:05:53 +0200 Subject: [PATCH] closer match to Python's output --- Lib/lua/luarun.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/lua/luarun.swg b/Lib/lua/luarun.swg index 5176f74cf..9ce99f01e 100644 --- a/Lib/lua/luarun.swg +++ b/Lib/lua/luarun.swg @@ -1049,7 +1049,7 @@ SWIGINTERN int SWIG_Lua_class_tostring(lua_State *L) lua_getfield(L, -1, ".type"); className = lua_tostring(L, -1); - lua_pushfstring(L, "<%s userdata: %p::%p>", className, userData, userData->ptr); + lua_pushfstring(L, "", userData->type->str, userData->ptr); return 1; }