mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-02 06:18:51 -06:00
9 lines
281 B
Python
9 lines
281 B
Python
"""The slug a manufacturer's name gives in an address."""
|
|
|
|
from __future__ import annotations
|
|
|
|
|
|
def manufacturer_slug(manufacturer: str) -> str:
|
|
"""The manufacturer's name lowercased, spaces as hyphens: "Sega" gives "sega"."""
|
|
return manufacturer.lower().replace(" ", "-")
|