Remove self type hints (#15732)

* Remove self type hints

* Lint
This commit is contained in:
Jason Hu authored and Paulus Schoutsen committed 2018-07-30 12:44:31 +01:00
1 parent 744c277123
commit 1e5596b594
10 files changed
+51 -58

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ def is_valid_unit(unit: str, unit_type: str) -> bool:
class UnitSystem:
"""A container for units of measure."""
def __init__(self: object, name: str, temperature: str, length: str,
def __init__(self, name: str, temperature: str, length: str,
volume: str, mass: str) -> None:
"""Initialize the unit system object."""
errors = \