Skip to content

Commit

Permalink
Add agent_selector docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
dm-ackerman committed Mar 22, 2024
1 parent 3595dc2 commit ce664ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pettingzoo/utils/agent_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ce664ed

Please sign in to comment.