NiklasRosenstein / python-docspec

Docspec is a JSON object specification for representing API documentation of programming languages.
https://niklasrosenstein.github.io/python-docspec/
Other
16 stars 6 forks source link

Rename `Data` to `Variable` #67

Closed NiklasRosenstein closed 2 years ago

NiklasRosenstein commented 2 years ago

Is your feature request related to a problem? Please describe.

The name "data" is too generic, and "variable" expresses more closely what the datastructure resembles (information about a value declaration and/or assignment to a name). We already have a semantic hint that could express if the variable is actually a constant.

Describe the solution you'd like

N/A

Describe alternatives you've considered