Closed AlexWaygood closed 1 year ago
The .s attribute on ast.Constant nodes is an alias to the .value attribute. The .s alias has been deprecated since Python 3.8, and causes a DeprecationWarning to be emitted on Python 3.12
.s
ast.Constant
.value
Thanks!
The
.s
attribute onast.Constant
nodes is an alias to the.value
attribute. The.s
alias has been deprecated since Python 3.8, and causes a DeprecationWarning to be emitted on Python 3.12