Docs: minor updates to recommend modern PEP8 (#2384)

* docs: update world api for modern PEP8 conventions

* docs: update options api for modern PEP8 styling

* missed a spot
This commit is contained in:
Aaron Wagener
2023-11-15 10:07:42 -06:00
committed by GitHub
parent 2af5410301
commit bf8432faa7
3 changed files with 46 additions and 46 deletions

View File

@@ -31,7 +31,7 @@ As an example, suppose we want an option that lets the user start their game wit
create our option class (with a docstring), give it a `display_name`, and add it to our game's options dataclass:
```python
# Options.py
# options.py
from dataclasses import dataclass
from Options import Toggle, PerGameCommonOptions