Improve six stubs (#5908)

* Update version field in METADATA.toml.
* Import from collections.abc in Python 3 stub.
* Add six.__author__.
* Annotate PY2, PY3, and PY34 as literals.
* Correctly annotate *_type and replace instances where they were used
  as type aliases.
* Use new union syntax in Python 2 stub.
* Use built-in generics in Python 2 stub where possible.
* Renamed _LazyDescriptor to _LazyDescr to match implementation.
* Derive _LazyDescr from object in Python 2 stub.
This commit is contained in:
Sebastian Rittau
2021-08-11 16:40:09 +02:00
committed by GitHub
parent 96358fd944
commit 6c41e3cead
3 changed files with 60 additions and 84 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
version = "0.1"
version = "1.16"
python2 = true