Files
django-stubs/django-stubs/contrib/staticfiles/urls.pyi
aszlig d7d7e6c66e 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>
2019-05-19 19:59:00 +03:00

8 lines
186 B
Python

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