You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* python/master: (269 commits)
allow Optional[float] for asyncio.wait() timeout arg (python#1860)
Clean up the pytype blacklist. (python#1851)
filter function: make the callable of the first overload non-optional so that mypy is able to select the second overload for the case. (python#1855)
Accept Text in distutils *Version classes (python#1854)
Add attrs library (python#1838)
Add type stub for the lzma module (python#1844)
Add ImportError attributes name, path for Python 3.3+ (python#1849)
Add 'message' to click.decorators.version_option (python#1845)
PEP 553 and PEP 564 (python#1846)
Adding py36 additions to datetime module (python#1848)
Remove incomplete thrift stubs that cause false positives. (python#1827)
adding curses.ascii, curses.panel and curses.textpad modules (python#1792)
Fix requests session hooks type (python#1794)
Add StringIO.name and BytesIO.name (python#1802)
Fix werkzeug environ type (python#1831)
Change the return type of unittest.TestCase.fail() to NoReturn (python#1843)
_curses.tparm works on bytes, not str (python#1828)
Refine types for distutils.version (python#1835)
Add stub for stat.filemode (python#1837)
modify pytype_test to run from within pytype too, and support python3 (python#1817)
...
- if [[ $TRAVIS_PYTHON_VERSION == '3.6-dev' ]]; then pip install -U flake8==3.3.0 flake8-bugbear>=17.3.0 flake8-pyi>=17.1.0; fi
18
19
- if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then pip install -U git+git://github.com/python/mypy git+git://github.com/python/typed_ast; fi
19
-
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -U git+git://github.com/google/pytype; fi
20
+
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -U git+git://github.com/google/pytype; wget https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/14.04/x86_64/python-3.6.tar.bz2; sudo tar xjf python-3.6.tar.bz2 --directory /; fi
[](https://gitter.im/python/typing?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4
5
5
6
## About
@@ -48,30 +49,9 @@ file (i.e., it can be interpreted by Python 3), except all the methods are empty
48
49
Python function annotations ([PEP 3107](https://www.python.org/dev/peps/pep-3107/))
49
50
are used to describe the types the function has.
50
51
51
-
See [PEP 484](http://www.python.org/dev/peps/pep-0484/) for the exact syntax
52
-
of the stub files.
53
-
54
-
## Syntax example
55
-
56
-
The below is an excerpt from the types for the `datetime` module.
0 commit comments