Docs: clarify description and usage of 'bpy.app.version_file'

Fixes T88669
This commit is contained in:
Aaron Carlisle 2021-05-30 11:07:38 -04:00
parent f5d14e36e8
commit 7b5796dcaa
Notes: blender-bot 2023-02-13 18:34:06 +01:00
Referenced by issue #88669, Incorrect blender version
1 changed files with 4 additions and 1 deletions

View File

@ -82,7 +82,10 @@ static PyTypeObject BlenderAppType;
static PyStructSequence_Field app_info_fields[] = {
{"version", "The Blender version as a tuple of 3 numbers. eg. (2, 83, 1)"},
{"version_file", "The blend file version, compatible with ``bpy.data.version``"},
{"version_file",
"The Blender version, as a tuple, last used to save a .blend file, compatible with "
"``bpy.data.version``. This value should be used for handling compatibility changes between "
"Blender versions"},
{"version_string", "The Blender version formatted as a string"},
{"version_cycle", "The release status of this build alpha/beta/rc/release"},
{"version_char", "Deprecated, always an empty string"},