Files
typeshed/stdlib/2and3
Jelle Zijlstra bdb06b5b81 improve codecs stubs (#2114)
Started out as progress towards #1476, but I ended up fixing a few more things:
- fixed the signature of _encode_type, which actually returns a pair, not a string
- made some attributes into properties in order to prevent the descriptor protocol from turning them into methods
- found a bug in CPython in the process (python/cpython#6779)

I used the following test file to make sure these classes are now instantiable:

```python
import codecs
import io
from typing import IO

bio = io.BytesIO()
cod = codecs.lookup('utf-8')

codecs.StreamReaderWriter(bio, codecs.StreamReader, codecs.StreamWriter)
codecs.StreamRecoder(bio, cod.encode, cod.decode, codecs.StreamReader, codecs.StreamWriter)
```
2018-06-11 15:53:15 -07:00
..
2018-06-09 16:22:50 -07:00
2018-05-28 08:08:27 -07:00
2017-05-01 07:51:08 -07:00
2017-04-04 20:14:07 -07:00
2017-10-25 09:46:25 -07:00
2016-12-20 00:16:44 -08:00
2017-04-24 15:05:02 -07:00
2016-12-19 23:53:19 -08:00
2017-04-05 13:54:05 -07:00
2018-06-11 15:53:15 -07:00
2016-07-29 08:02:24 -07:00
2017-04-24 15:05:02 -07:00
2017-05-23 16:34:34 -07:00
2016-12-19 22:09:35 -08:00
2017-07-18 19:19:14 -07:00
2017-06-01 17:36:32 -07:00
2016-08-05 12:03:21 -07:00
2016-12-21 01:06:52 -08:00
2018-06-11 11:26:32 -07:00
2016-12-19 23:53:19 -08:00
2017-04-27 08:14:21 -07:00
2018-04-06 11:11:29 -07:00
2017-04-24 13:55:33 -07:00
2017-05-30 21:43:30 -07:00
2017-03-19 13:05:07 -07:00
2017-03-19 13:08:54 -07:00
2016-08-05 12:04:01 -07:00
2016-07-22 07:38:17 -07:00
2017-03-23 08:23:06 -07:00
2018-05-31 21:44:42 -07:00
2018-04-06 11:09:45 -07:00
2017-05-25 19:39:15 -07:00
2017-03-23 08:23:52 -07:00
2018-04-06 11:11:29 -07:00
2017-03-23 08:25:38 -07:00
2016-12-19 22:09:35 -08:00
2018-04-06 11:09:11 -07:00
2017-03-23 08:25:56 -07:00
2017-03-21 05:54:48 -07:00
2017-03-19 17:35:31 -07:00
2018-04-06 11:09:11 -07:00
2017-12-13 08:20:47 -08:00
2017-03-20 20:32:44 -07:00
2016-12-19 21:52:56 -08:00