Core: Docstring typo on Region.add_exits (#5089)

* doc typo

* Update BaseClasses.py
This commit is contained in:
qwint
2025-06-15 19:31:12 -05:00
committed by GitHub
parent 1356479415
commit b408bb4f6e

View File

@@ -1337,8 +1337,8 @@ class Region:
Connects current region to regions in exit dictionary. Passed region names must exist first.
:param exits: exits from the region. format is {"connecting_region": "exit_name"}. if a non dict is provided,
created entrances will be named "self.name -> connecting_region"
:param rules: rules for the exits from this region. format is {"connecting_region", rule}
created entrances will be named "self.name -> connecting_region"
:param rules: rules for the exits from this region. format is {"connecting_region": rule}
"""
if not isinstance(exits, Dict):
exits = dict.fromkeys(exits)