Commit Graph

142 Commits

Author SHA1 Message Date
Guido van Rossum 922175922c Issue #28049: Add documentation for typing.Awaitable and friends.
By Michael Lee.
2016-09-09 11:46:34 -07:00
Guido van Rossum e848cd7605 Issue #27905: Docs for typing.Type[C], by Michael Lee. 2016-09-06 21:12:44 -07:00
Guido van Rossum 1de1a6a2dc Issue #27905: Docs for typing.Type[C], by Michael Lee. (Merge 3.5->3.6) 2016-09-06 21:13:15 -07:00
Vinay Sajip dd917f84e3 Closes #27904: Improved logging statements to defer formatting until needed. 2016-08-31 08:22:29 +01:00
Guido van Rossum b09b3f7ab9 Add docs for typing.AnyStr and typing.Text. By Michael Lee. (Merge 3.5->3.6) 2016-08-15 15:08:11 -07:00
Guido van Rossum aa9560c633 Add docs for typing.AnyStr and typing.Text. By Michael Lee. 2016-08-15 15:06:38 -07:00
Berker Peksag 1107f09bfc Merge from 3.5 2016-08-08 13:35:27 +03:00
Berker Peksag 08d85ee78d Fix use of default reST role 2016-08-08 13:34:49 +03:00
Guido van Rossum 3cc38327b6 Better docs for typing.Any by Michael Lee. Fixes issue #27688. (Merge 3.5->3.6) 2016-08-06 13:48:10 -07:00
Guido van Rossum abfe28b012 Better docs for typing.Any by Michael Lee. Fixes issue #27688. 2016-08-06 13:46:48 -07:00
Guido van Rossum b6337a1145 Add typing.Generator docs, by Michael Lee. (Merge 3.5->3.6) 2016-08-05 12:57:38 -07:00
Guido van Rossum b858af61b9 Add typing.Generator docs, by Michael Lee. 2016-08-05 12:56:09 -07:00
Berker Peksag f6daa690e4 Merge from 3.5 2016-07-30 03:48:12 +03:00
Berker Peksag fa95068081 Silence another "default role used" warning in typing.rst
This should make ware-docs green again.
2016-07-30 03:47:52 +03:00
Guido van Rossum a9333b1207 Fix whitespace. 2016-07-29 15:41:35 -07:00
Guido van Rossum c301cbf445 Fix whitespace. 2016-07-29 15:41:17 -07:00
Guido van Rossum e608709675 Expand documentation about type aliases and NewType in the typing module (merge 3.5 -> 3.6).
By Michael Lee.
2016-07-29 15:39:36 -07:00
Guido van Rossum 342e800e97 Expand documentation about type aliases and NewType in the typing module.
By Michael Lee.
2016-07-29 15:38:14 -07:00
Guido van Rossum 7acc3486d6 Fix issue #27402: example for typing did not type-check. (Merge 3.5->3.6) 2016-06-28 10:12:22 -07:00
Guido van Rossum 457509826e Fix issue #27402: example for typing did not type-check. 2016-06-28 10:08:17 -07:00
Terry Jan Reedy 4da945f361 Merge Issue #22558. 2016-06-11 15:06:08 -04:00
Terry Jan Reedy fa089b9b0b Issue #22558: Add remaining doc links to source code for Python-coded modules.
Reformat header above separator line (added if missing) to a common format.
Patch by Yoni Lavi.
2016-06-11 15:02:54 -04:00
Martin Panter e514093a2f Issue #27125: Merge typo fixes from 3.5 2016-05-30 05:24:49 +00:00
Martin Panter a90a4a9651 Issue #27125: Remove duplicated words from documentation and comments 2016-05-30 04:04:50 +00:00
Martin Panter e501a93c18 Issue #27125: Merge typo fixes from 3.5
Also merge changes from Issue #27117; no actual code changes to 3.6.
2016-05-29 09:05:06 +00:00
Martin Panter 8d56c026a5 Issue #27125: Fix various errors like “will [be] inherited” 2016-05-29 04:13:35 +00:00
Berker Peksag 955bc38b16 Issue #26322: Document typing.Set, patch by Joseph Moran 2016-04-29 14:41:41 +03:00
Berker Peksag 5d6fd8c936 Issue #26322: Document typing.Set, patch by Joseph Moran 2016-04-29 14:41:16 +03:00
Victor Stinner 21de67f900 Merge 3.5 2016-04-11 16:23:37 +02:00
Victor Stinner a9901e86ba typing doc: add versionadded 3.5 2016-04-11 16:23:22 +02:00
Brett Cannon 9e080e0e74 Issue #25609: Introduce contextlib.AbstractContextManager and
typing.ContextManager.
2016-04-08 12:15:27 -07:00
Guido van Rossum 16ca06b8cb Add collections.Reversible. Patch by Ivan Levkivskyi. Fixes issue #25987. 2016-04-04 10:59:29 -07:00
Guido van Rossum 3fb5612e08 Hopefully clarify the difference between Optional[t] and an optional argument. 2016-02-10 09:46:56 -08:00
Zachary Ware 3df11b2bd6 Fix typo.
Reported by Jon Tetlak on docs@
2016-02-02 17:04:41 -06:00
Zachary Ware c730931fa1 Issue #25603: Add missing parenthesis. 2015-11-11 22:59:44 -06:00
Berker Peksag 573e2cd383 Fix typos and improve markup in typing.rst. 2015-09-10 21:55:50 +03:00
Guido van Rossum 2a19d956ab Restore doc updates to typing.rst by Ivan Levkivskyi and Daniel Andrade Groppe. 2015-09-10 10:52:11 -07:00
Zachary Ware ce50802679 Issue #24272: Remove usage of default reST role from typing docs 2015-08-29 22:39:47 -05:00
Guido van Rossum 9db397c5c1 Fix trailing ws. 2015-08-05 12:26:07 +02:00
Guido van Rossum eb184e0106 Issue #24272: Initial docs for typing.py (PEP 484).
By Daniel Andrade Groppe and Ivan Levkivskyi.
2015-08-03 22:35:46 +02:00
Guido van Rossum 46dbb7d103 Preliminary typing.py, anticipating provisional acceptance of PEP 484.
There area bunch of TODOs here, but the biggest (not mentioned in the
file) is that I'm going to take out __instancecheck__ and
__subclasscheck__.  However my personal schedule is such that I
probably won't have time for these before Larry tags beta 1.  But I
will try -- this commit is mostly to make sure that typing.py doesn't
completely miss the train.

PS. I'm tracking issues at https://github.com/ambv/typehinting/issues.
2015-05-22 10:14:11 -07:00
Guido van Rossum e93b06a0a3 Hopefully clarify the difference between Optional[t] and an optional argument. 2016-02-10 09:48:58 -08:00