Fix type of prefix arg in staticfiles_urlpatterns (#74)

Using a *type* of None for the prefix keyword argument is not going to
typecheck very well, so it might be a typo here because the default
value (rather than the type) is None.

Signed-off-by: aszlig <aszlig@nix.build>
This commit is contained in:
aszlig
2019-05-19 18:59:00 +02:00
committed by Maxim Kurnikov
parent b66727657d
commit d7d7e6c66e

View File

@@ -4,4 +4,4 @@ from django.urls.resolvers import URLPattern
urlpatterns: Any
def staticfiles_urlpatterns(prefix: None = ...) -> List[URLPattern]: ...
def staticfiles_urlpatterns(prefix: Optional[str] = ...) -> List[URLPattern]: ...