it raises exception:
except NonexistentPlayerError:
self.__invalidate("Tried to initialize a Player instance of a nonexistant player.")
but its needed to represent player that is not on server, for future-proof implementations for example all functions should pass Player instances instead of names. Behind the scenes, in methods like 'getelo' player instance could be used of the player that exists but is not necessarily on server and whose lets say steam id was found in some other way.
it raises exception: except NonexistentPlayerError: self.__invalidate("Tried to initialize a Player instance of a nonexistant player.")
but its needed to represent player that is not on server, for future-proof implementations for example all functions should pass Player instances instead of names. Behind the scenes, in methods like 'getelo' player instance could be used of the player that exists but is not necessarily on server and whose lets say steam id was found in some other way.