Skip to content

Commit 0369a5f

Browse files
committed
Update revision history
1 parent 8549c4d commit 0369a5f

File tree

3 files changed

+48
-8
lines changed

3 files changed

+48
-8
lines changed

docs/source/basics.rst

+2
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ explains how to download and install mypy.
122122
the Python interpreter to run mypy. The mypy tool is an ordinary
123123
mypy (and so also Python) program.
124124

125+
.. _library-stubs:
126+
125127
Library stubs
126128
*************
127129

docs/source/kinds_of_types.rst

+6
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ narrow down the type to a specific type:
118118
f('x') # OK
119119
f(1.1) # Error
120120
121+
.. _optional:
122+
121123
The type of None and optional types
122124
***********************************
123125

@@ -225,6 +227,8 @@ string-literal types with non-string-literal types freely:
225227
226228
String literal types are never needed in ``# type:`` comments.
227229

230+
.. _type-aliases:
231+
228232
Type aliases
229233
************
230234

@@ -251,6 +255,8 @@ A type alias does not create a new type. It's just a shorthand notation
251255
for another type -- it's equivalent to the target type. Type aliases
252256
can be imported from modules like any names.
253257

258+
.. _named-tuples:
259+
254260
Named tuples
255261
************
256262

docs/source/revision_history.rst

+40-8
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,46 @@ Revision history
33

44
List of major changes to this document:
55

6-
- Oct 26 2014: Major restructuring. Split the HTML documentation into
7-
multiple pages.
6+
.. note::
87

9-
- Sep 15 2014: Migrated docs to Sphinx.
8+
Some of the latest changes are not yet supported by the mypy
9+
version on PyPI. Use the
10+
`development version on GitHub <https://github.com/JukkaL/mypy>`_ to get
11+
them.
1012

11-
- Aug 25 2014: Don't discuss native semantics. There is only Python
12-
semantics.
13+
- Mar 2015
14+
Update documentation to reflect PEP 484.
15+
Add :ref:`named-tuples` and :ref:`optional`.
16+
Do not mention type application syntax (for
17+
example, ``List[int]()``), as it's no longer supported,
18+
due to PEP 484 compatibility. Rename ``typevar`` to
19+
``TypeVar``.
1320

14-
- Jul 2 2013: Rewrite to use new syntax. Shift focus to discussing
15-
Python semantics. Add more content, including short discussions of
16-
:ref:`generic-functions` and :ref:`union-types`.
21+
- Jan 2015
22+
Mypy moves closer to PEP 484.
23+
Add :ref:`type-aliases`. Update discussion of
24+
overloading -- it's now only supported in stubs.
25+
Rename ``Function[...]`` to ``Callable[...]``.
26+
27+
- Dec 2014
28+
Publish mypy version 0.1.0 on PyPI.
29+
30+
- Nov 2014
31+
Add :ref:`library-stubs`.
32+
33+
- Oct 2014
34+
Major restructuring.
35+
Split the HTML documentation into
36+
multiple pages.
37+
38+
- Sep 2014
39+
Migrated docs to Sphinx.
40+
41+
- Aug 2014
42+
Don't discuss native semantics. There is only Python
43+
semantics.
44+
45+
- Jul 2013
46+
Rewrite to use new syntax. Shift focus to discussing
47+
Python semantics. Add more content, including short discussions of
48+
:ref:`generic-functions` and :ref:`union-types`.

0 commit comments

Comments
 (0)