Mitar
Mitar
So AST does not retain the information about the tokens? So that we could go back and see what if the `=` has space before and after it? Or not?...
See #438 for the implementation.
(Of course, some people probably prefer the other way around.)
One function I needed and [implemented](https://gitlab.com/datadrivendiscovery/d3m/-/blob/devel/d3m/utils.py#L102) is `get_type_arguments`: I want that if I have a base class: ``` class Base(typing.Generic[A, B, C]): ``` If I do: ``` class Foo(Base[float, int,...
I currently use `isinstance(obj, type) or isinstance(obj, typing_inspect.typingGenericAlias)`.
Not sure how to know if it is a bare class?
Yea, it would be great if then `get_origin` from this package would work on 3.6 the same as it does on 3.7 and 3.8.
In the context of goquery it would be really useful if one could do something like: ```go table.Find(":scope > tbody > tr > th") ``` To find only `th` directly...
I was thinking, `:scope` in the context of cascadia could just be the node from which the selector starts?
But it would work for `MatchAll` and `Query`.