comment why we're redefining FilePath type
This commit is contained in:
parent
7f1f4bf0a4
commit
17d71408fb
|
@ -26,6 +26,8 @@ if TYPE_CHECKING:
|
|||
def __exit__(self, *args, **kwargs): # type: (object, object) -> Optional[bool]
|
||||
pass
|
||||
|
||||
# FilePath is missing type annotations
|
||||
# https://twistedmatrix.com/trac/ticket/10148
|
||||
class FilePath(object):
|
||||
def __init__(self, path): # type: (str) -> None
|
||||
self.path = path
|
||||
|
|
Loading…
Reference in New Issue