LibCST/libcst/codegen
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 Remove tox references (#588) 2022-01-06 21:09:27 -05:00
__init__.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
gather.py Several trivial refactors (#770) 2022-09-14 14:33:45 +01:00
gen_matcher_classes.py Fix type of evaluated_value on string to allow bytes (#721) 2023-05-26 13:43:05 +01:00
gen_type_mapping.py Several trivial refactors (#770) 2022-09-14 14:33:45 +01:00
gen_visitor_functions.py Several trivial refactors (#770) 2022-09-14 14:33:45 +01:00
generate.py Ensure current Python interpreter is used for subprocesses (#898) 2023-03-27 10:56:25 +01:00
transforms.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00