#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,7 +1,3 @@
# Stubs for croniter.croniter (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
class croniter:

View File

@@ -1,7 +1,3 @@
# Stubs for cryptography.hazmat.primitives.serialization (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from enum import Enum

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, IO, List, Optional, Tuple, Union
import datetime
from ._common import tzname_in_python2 as tzname_in_python2, _tzinfo as _tzinfo

View File

@@ -1,7 +1,3 @@
# Stubs for fb303.FacebookService (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from thrift.Thrift import TProcessor

View File

@@ -1,7 +1,3 @@
# Stubs for google.protobuf.descriptor (Python 2.7)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from .message import Message

View File

@@ -1,7 +1,3 @@
# Stubs for google.protobuf.descriptor_pool (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Optional
class DescriptorPool:

View File

@@ -1,7 +1,3 @@
# Stubs for google.protobuf.internal.decoder (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
def ReadTag(buffer, pos): ...

View File

@@ -1,7 +1,3 @@
# Stubs for google.protobuf.internal.encoder (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
Int32Sizer = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for google.protobuf.internal.wire_format (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
TAG_TYPE_BITS = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for google.protobuf.message (Python 2.7)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Sequence, Optional, Tuple
from .descriptor import FieldDescriptor

View File

@@ -1,7 +1,3 @@
# Stubs for google.protobuf.message_factory (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Dict, Iterable, Optional, Type
from .message import Message

View File

@@ -1,7 +1,3 @@
# Stubs for google.protobuf.reflection (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
class GeneratedProtocolMessageType(type):
def __new__(cls, name, bases, dictionary): ...
def __init__(cls, name, bases, dictionary) -> None: ...

View File

@@ -1,7 +1,3 @@
# Stubs for google.protobuf.symbol_database
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Dict, Iterable, Type
from .descriptor import EnumDescriptor, FileDescriptor

View File

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

View File

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

View File

@@ -1,7 +1,3 @@
# Stubs for kazoo.client (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
string_types = ... # type: Any

View File

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

View File

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

View File

@@ -1,7 +1,3 @@
# Stubs for kazoo.recipe.watchers (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
log = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for redis (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from . import client
from . import connection
from . import utils

View File

@@ -1,7 +1,3 @@
# Stubs for redis.client (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
SYM_EMPTY = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for redis.connection (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
ssl_available = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for redis.exceptions (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
class RedisError(Exception): ...
def __unicode__(self): ...

View File

@@ -1,7 +1,3 @@
# Stubs for redis.utils (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
HIREDIS_AVAILABLE = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for routes (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from . import mapper
from . import util

View File

@@ -1,7 +1,3 @@
# Stubs for routes.mapper (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
COLLECTION_ACTIONS = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for routes.util (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
class RoutesException(Exception): ...

View File

@@ -1,7 +1,3 @@
# Stubs for scribe.scribe (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
import fb303.FacebookService

View File

@@ -1,7 +1,3 @@
# Stubs for scribe.ttypes (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
fastbinary = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for selenium.webdriver.remote.webdriver (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Dict, List, Optional
from .mobile import Mobile as Mobile
from selenium.webdriver.remote.webelement import WebElement

View File

@@ -1,7 +1,3 @@
# Stubs for selenium.webdriver.remote.webelement (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from selenium.webdriver.remote.webdriver import WebDriver
from typing import Any, Optional, Dict, List

View File

@@ -1,7 +1,3 @@
# Stubs for thrift.Thrift (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
class TType:

View File

@@ -1,7 +1,3 @@
# Stubs for thrift.protocol.TBinaryProtocol (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from .TProtocol import TProtocolBase

View File

@@ -1,7 +1,3 @@
# Stubs for thrift.protocol.TProtocol (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from thrift.Thrift import TException

View File

@@ -1,7 +1,3 @@
# Stubs for thrift.protocol (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
# Names in __all__ with no definition:
# TBase
# TBinaryProtocol

View File

@@ -1,7 +1,3 @@
# Stubs for thrift.transport.TSocket (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from .TTransport import TTransportBase, TServerTransportBase

View File

@@ -1,7 +1,3 @@
# Stubs for thrift.transport.TTransport (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from thrift.Thrift import TException

View File

@@ -1,7 +1,3 @@
# Stubs for thrift.transport (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
# Names in __all__ with no definition:
# THttpClient
# TSocket

View File

@@ -1,7 +1,3 @@
# Stubs for tornado.concurrent (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
futures = ... # type: Any

View File

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

View File

@@ -1,7 +1,3 @@
# Stubs for tornado.httpclient (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from tornado.util import Configurable

View File

@@ -1,7 +1,3 @@
# Stubs for tornado.httpserver (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from tornado import httputil
from tornado.tcpserver import TCPServer

View File

@@ -1,7 +1,3 @@
# Stubs for tornado.httputil (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from tornado.util import ObjectDict
from collections import namedtuple

View File

@@ -1,7 +1,3 @@
# Stubs for tornado.ioloop (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from tornado.util import Configurable

View File

@@ -1,7 +1,3 @@
# Stubs for tornado.locks (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
class _TimeoutGarbageCollector:

View File

@@ -1,7 +1,3 @@
# Stubs for tornado.netutil (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from tornado.util import Configurable

View File

@@ -1,7 +1,3 @@
# Stubs for tornado.tcpserver (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
ssl = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for tornado.testing (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
import unittest
import logging

View File

@@ -1,7 +1,3 @@
# Stubs for tornado.util (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
xrange = ... # type: Any

View File

@@ -1,7 +1,3 @@
# Stubs for tornado.web (Python 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from tornado import httputil

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug (Python 2)
#
# 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 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
import StringIO as BytesIO

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug._internal (Python 2)
#
# 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 2)
#
# 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 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.contrib.atom (Python 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from urllib2 import parse_http_list as _parse_list_header

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.local (Python 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from ._compat import PY2 as PY2
from SocketServer import ThreadingMixIn, ForkingMixIn

View File

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

View File

@@ -1,7 +1,3 @@
# Stubs for werkzeug.testapp (Python 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# 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 2)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
def responder(f): ...

View File

@@ -1,7 +1,3 @@
# Stubs for Crypto.Cipher.AES (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Union, Text
from .blockalgo import BlockAlgo

View File

@@ -1,7 +1,3 @@
# Stubs for Crypto.Cipher.ARC2 (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Union, Text
from .blockalgo import BlockAlgo

View File

@@ -1,7 +1,3 @@
# Stubs for Crypto.Cipher.ARC4 (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Union, Text
__revision__ = ... # type: str

View File

@@ -1,7 +1,3 @@
# Stubs for Crypto.Cipher.Blowfish (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Union, Text
from .blockalgo import BlockAlgo

View File

@@ -1,7 +1,3 @@
# Stubs for Crypto.Cipher.CAST (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Union, Text
from .blockalgo import BlockAlgo

View File

@@ -1,7 +1,3 @@
# Stubs for Crypto.Cipher.DES (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Union, Text
from .blockalgo import BlockAlgo

View File

@@ -1,7 +1,3 @@
# Stubs for Crypto.Cipher.DES3 (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Union, Text
from .blockalgo import BlockAlgo

View File

@@ -1,7 +1,3 @@
# Stubs for Crypto.Cipher.PKCS1_OAEP (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Optional, Union, Text
from Crypto.PublicKey.RSA import _RSAobj

View File

@@ -1,7 +1,3 @@
# Stubs for Crypto.Cipher.PKCS1_v1_5 (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Union, Text
from Crypto.PublicKey.RSA import _RSAobj

Some files were not shown because too many files have changed in this diff Show More