LibCST/libcst/_nodes
Sigurd Ljødal a594fe1dd2
Fix type of evaluated_value on string to allow bytes (#721)
* Fix type of evaluated_value on string

This can return bytes if the string is a bytestring, e.g.:

    In [1]: import libcst as cst

    In [2]: cst.parse_expression('b"foo"').evaluated_value
    Out[2]: b'foo'

* Fix type errors from changed signature
2023-05-26 13:43:05 +01:00
..
tests relax validation rules on decorators (#926) 2023-05-23 09:56:49 +01:00
__init__.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
base.py Bump black from 22.12.0 to 23.1.0 (#860) 2023-03-15 11:53:50 +00:00
deep_equals.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
expression.py Fix type of evaluated_value on string to allow bytes (#721) 2023-05-26 13:43:05 +01:00
internal.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
module.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
op.py add slots to base classes, @add_slots takes bases into account (#605) 2022-01-16 14:14:32 +00:00
statement.py Fix type of evaluated_value on string to allow bytes (#721) 2023-05-26 13:43:05 +01:00
whitespace.py add slots to base classes, @add_slots takes bases into account (#605) 2022-01-16 14:14:32 +00:00