Move routes stubs to @python2 directory (#5637)

* Move routes stubs to @python2 directory

* Ignore Python-2-only stubs for stubtest

* Use standard idiom for re-exporting items

Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
Sebastian RittauandAkuli authored and GitHub committed 2021-06-18 17:05:23 +03:00
1 parent 5a256a0c70
commit bc2ec748f6
8 files changed
+9 -12

No files matched your search

@@ -1,4 +1,5 @@
from . import mapper, util
from .mapper import Mapper as Mapper
from .util import URLGenerator as URLGenerator, redirect_to as redirect_to, url_for as url_for
class _RequestConfig:
def __getattr__(self, name): ...
@@ -7,8 +8,3 @@ class _RequestConfig:
def load_wsgi_environ(self, environ): ...
def request_config(original=...): ...
Mapper = mapper.Mapper
redirect_to = util.redirect_to
url_for = util.url_for
URLGenerator = util.URLGenerator
File renamed without changes.
File renamed without changes.
-2
View File
@@ -1,3 +1 @@
version = "0.1"
python2 = true
python3 = false