From b55e31b5cef48bae89802a01f065c38186b74b4f Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Wed, 15 Apr 2020 22:37:56 +0100 Subject: [PATCH] steamid: define __str__ as py3.8 maps it __repr__ --- steam/steamid.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/steam/steamid.py b/steam/steamid.py index 42df5a5..c1ffe72 100644 --- a/steam/steamid.py +++ b/steam/steamid.py @@ -57,6 +57,9 @@ class SteamID(intBase): def __init__(self, *args, **kwargs): pass + def __str__(self): + return str(int(self)) + def __repr__(self): return "%s(id=%s, type=%s, universe=%s, instance=%s)" % ( self.__class__.__name__,