pythonic-api
pythonic-api copied to clipboard
Examples for "Implementing intuitive and productive APIs" workshops (OSCON, PyCON 2016)
Results
1
pythonic-api issues
Sort by
recently updated
recently updated
newest added
In your solution to vector you use `Vector`: ```python def __neg__(self): return Vector(-x for x in self) ``` You also hardcode `Vector` in `__add__`. Above it, though, in `__getitem__` you...