From ce664eddd626e638124eb6ad1ab22be6a99a430c Mon Sep 17 00:00:00 2001 From: David Ackerman <145808634+dm-ackerman@users.noreply.github.com> Date: Fri, 22 Mar 2024 15:00:28 +0000 Subject: [PATCH] Add agent_selector docstring --- pettingzoo/utils/agent_selector.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pettingzoo/utils/agent_selector.py b/pettingzoo/utils/agent_selector.py index 74a93939a..2643b1c9a 100644 --- a/pettingzoo/utils/agent_selector.py +++ b/pettingzoo/utils/agent_selector.py @@ -65,6 +65,8 @@ def __eq__(self, other: AgentSelector) -> bool: class agent_selector(AgentSelector): + """Deprecated version of AgentSelector. Use that instead.""" + def __init__(self, *args, **kwargs): warn( "agent_selector is deprecated, please use AgentSelector",