[issue33983] unify types for lib2to3.pytree.Base.children

Batuhan Taskaya report at bugs.python.org
Fri Feb 14 13:23:16 EST 2020


Batuhan Taskaya <batuhanosmantaskaya at gmail.com> added the comment:

> Isn't children annotated as List in typeshed?

Yes, lib2to3.pytree.Base.children is annotated as a list of (Node or Leafs)
https://github.com/python/typeshed/blob/ea0a9c2bd6f6a69c3e49b47870e0109d98316fc6/stdlib/2and3/lib2to3/pytree.pyi#L23

----------
nosy: +BTaskaya

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33983>
_______________________________________


More information about the Python-bugs-list mailing list