Archipelago/worlds/dkc3
Doug Hoskisson 280b67f996
some worlds: some typing in `LocalRom` (#3090)
* some worlds: some typing in `LocalRom`

### `read_bytes`

It's not safe to return `bytearray` when we think it's `bytes`
```python
a = rom.read_bytes(8, 3)
hash(a)  # This won't crash, right?
```

### `write_bytes`

`Iterable[SupportsIndex]` is what's required for `bytearray.__setitem__(slice, values)`
We need to add `__len__` for the `len(values)` in this function.

* remove `object` inheritance
2024-05-17 21:41:57 +02:00
..
Names
docs
CHANGELOG.md
Client.py
Items.py
Levels.py
Locations.py
Options.py
Regions.py
Rom.py some worlds: some typing in `LocalRom` (#3090) 2024-05-17 21:41:57 +02:00
Rules.py
__init__.py