mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
change empty bodies from "pass" to "..."
CONTRIBUTING.md says to prefer ... Not the most impactful change but fixing these will allow us to lint for it in the future and get a consistent style.
This commit is contained in:
committed by
Łukasz Langa
parent
17be26165d
commit
349ff59f33
@@ -26,8 +26,8 @@ _T3 = TypeVar('_T3')
|
||||
_T4 = TypeVar('_T4')
|
||||
_TT = TypeVar('_TT', bound='type')
|
||||
|
||||
class staticmethod: pass # Special, only valid as a decorator.
|
||||
class classmethod: pass # Special, only valid as a decorator.
|
||||
class staticmethod: ... # Special, only valid as a decorator.
|
||||
class classmethod: ... # Special, only valid as a decorator.
|
||||
|
||||
class object:
|
||||
__doc__ = ... # type: Optional[str]
|
||||
|
||||
Reference in New Issue
Block a user