Cleanup: spelling, grammar, and other corrections
D5084 by @nBurn with edits
This commit is contained in:
@@ -468,7 +468,7 @@ static PyMethodDef BLF_methods[] = {
|
||||
{NULL, NULL, 0, NULL},
|
||||
};
|
||||
|
||||
PyDoc_STRVAR(BLF_doc, "This module provides access to blenders text drawing functions.");
|
||||
PyDoc_STRVAR(BLF_doc, "This module provides access to Blender's text drawing functions.");
|
||||
static struct PyModuleDef BLF_module_def = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"blf", /* m_name */
|
||||
|
@@ -86,7 +86,7 @@ static PyStructSequence_Field app_info_fields[] = {
|
||||
{(char *)"version_char", (char *)"The Blender version character (for minor releases)"},
|
||||
{(char *)"version_cycle", (char *)"The release status of this build alpha/beta/rc/release"},
|
||||
{(char *)"binary_path",
|
||||
(char *)"The location of blenders executable, useful for utilities that spawn new instances"},
|
||||
(char *)"The location of Blender's executable, useful for utilities that open new instances"},
|
||||
{(char *)"background",
|
||||
(char *)"Boolean, True when blender is running without a user interface (started with -b)"},
|
||||
{(char *)"factory_startup",
|
||||
|
@@ -17,7 +17,7 @@
|
||||
/** \file
|
||||
* \ingroup pythonintern
|
||||
*
|
||||
* This file inserts an exit callback into pythons 'atexit' module.
|
||||
* This file inserts an exit callback into Python's 'atexit' module.
|
||||
* Without this sys.exit() can crash because blender is not properly closing
|
||||
* resources.
|
||||
*/
|
||||
|
@@ -19,9 +19,9 @@
|
||||
*
|
||||
* This file exposed blend file library appending/linking to python, typically
|
||||
* this would be done via RNA api but in this case a hand written python api
|
||||
* allows us to use pythons context manager (__enter__ and __exit__).
|
||||
* allows us to use Python's context manager (`__enter__` and `__exit__`).
|
||||
*
|
||||
* Everything here is exposed via bpy.data.libraries.load(...) which returns
|
||||
* Everything here is exposed via `bpy.data.libraries.load(...)` which returns
|
||||
* a context manager.
|
||||
*/
|
||||
|
||||
|
@@ -2986,8 +2986,8 @@ PyDoc_STRVAR(
|
||||
" .. warning::\n"
|
||||
"\n"
|
||||
" There is a known bug with using a callback,\n"
|
||||
" Python must keep a reference to the strings returned or Blender will misbehave\n"
|
||||
" or even crash."
|
||||
" Python must keep a reference to the strings returned by the callback or Blender\n"
|
||||
" will misbehave or even crash."
|
||||
"\n"
|
||||
" :type items: sequence of string tuples or a function\n" BPY_PROPDEF_NAME_DOC
|
||||
BPY_PROPDEF_DESC_DOC
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user