#1286 Remove header comments from stubs (#1292)

- Updates documentation related to previously required comment headers.
- Removes all comment headers from stubs
- Occasionally included a header for stubs that were noted to be incomplete or contained todo's.
This commit is contained in:
Emily Morehouse
2017-05-22 15:14:15 -07:00
committed by Guido van Rossum
parent a2aa93ac29
commit b6d08b81a3
354 changed files with 2 additions and 1404 deletions

View File

@@ -1,5 +1 @@
# Stubs for dateutil.tz (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from .tz import tzutc, tzoffset, tzlocal, tzfile, tzrange, tzstr, tzical, gettz, datetime_exists, datetime_ambiguous

View File

@@ -1,7 +1,3 @@
# Stubs for dateutil.tz._common (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Optional
from datetime import datetime, tzinfo, timedelta

View File

@@ -1,7 +1,3 @@
# Stubs for dateutil.tz.tz (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Optional, Union, IO, Tuple, List
import datetime
from ._common import tzname_in_python2 as tzname_in_python2, _tzinfo as _tzinfo

View File

@@ -1,7 +1,3 @@
# Stubs for itsdangerous (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from datetime import datetime
from typing import Any, Callable, IO, MutableMapping, Optional, Text, Tuple, TypeVar, Union

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from types import ModuleType
from typing import Any

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug._compat (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from io import StringIO as BytesIO

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug._internal (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
class _Missing:

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug._reloader (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
class ReloaderLoop:

View File

@@ -1,3 +0,0 @@
# Stubs for werkzeug.contrib (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.contrib.atom (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
XHTML_NAMESPACE = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.contrib.cache (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
class BaseCache:

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.contrib.fixers (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
class CGIRootFix:

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.contrib.iterio (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
greenlet = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.contrib.jsrouting (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
def dumps(*args): ...

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.contrib.limiter (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
class StreamLimitMiddleware:

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.contrib.lint (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
class WSGIWarning(Warning): ...

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.contrib.profiler (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
available = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.contrib.securecookie (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from hmac import new as hmac
from hashlib import sha1 as _default_hash

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.contrib.sessions (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from werkzeug.datastructures import CallbackDict

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.contrib.testtools (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from werkzeug.wrappers import Response

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.contrib.wrappers (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
def is_known_charset(charset): ...

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.datastructures (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from collections import Container, Iterable, Mapping, MutableSet

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.debug (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from werkzeug.wrappers import BaseRequest as Request, BaseResponse as Response

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.debug.console (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
import code

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.debug.repr (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
deque = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.debug.tbtools (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
UTF8_COOKIE = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.exceptions (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
class HTTPException(Exception):

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.filesystem (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
has_likely_buggy_unicode_filesystem = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.formparser (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
def default_stream_factory(total_content_length, filename, content_type, content_length=None): ...

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.http (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from urllib.request import parse_http_list as _parse_list_header
from urllib.parse import unquote_to_bytes as _unquote

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.local (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
def release_local(local): ...

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.posixemulation (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from ._compat import to_unicode as to_unicode
from .filesystem import get_filesystem_encoding as get_filesystem_encoding

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.routing (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from werkzeug.exceptions import HTTPException

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.script (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
argument_types = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.security (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
SALT_CHARS = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.serving (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from socketserver import ThreadingMixIn, ForkingMixIn
from http.server import HTTPServer, BaseHTTPRequestHandler

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.test (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from urllib.request import Request as U2Request
from http.cookiejar import CookieJar

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.testapp (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from werkzeug.wrappers import BaseRequest as Request, BaseResponse as Response

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.urls (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from collections import namedtuple
from typing import Any

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.useragents (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
class UserAgentParser:

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.utils (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from werkzeug._internal import _DictAccessorProperty

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.wrappers (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import (
Any, Iterable, Mapping, Optional, Sequence, Tuple, Type, Union,
)

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.wsgi (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
def responder(f): ...