[Bf-blender-cvs] [b0449cac662] master: API Docs: Small edits to recent commit

Aaron Carlisle noreply at git.blender.org
Tue Jun 23 23:10:12 CEST 2020


Commit: b0449cac6629b6f3f86ecacabdebc7e24ad51c37
Author: Aaron Carlisle
Date:   Tue Jun 23 17:08:32 2020 -0400
Branches: master
https://developer.blender.org/rBb0449cac6629b6f3f86ecacabdebc7e24ad51c37

API Docs: Small edits to recent commit

- Revert string formatting change
- Add missing text edit

===================================================================

M	doc/python_api/rst/info_best_practice.rst
M	doc/python_api/sphinx_doc_gen.py

===================================================================

diff --git a/doc/python_api/rst/info_best_practice.rst b/doc/python_api/rst/info_best_practice.rst
index 36bfc6e33ed..2607d047997 100644
--- a/doc/python_api/rst/info_best_practice.rst
+++ b/doc/python_api/rst/info_best_practice.rst
@@ -368,4 +368,4 @@ While developing a script it is good to time it to be aware of any changes in pe
 
    # do something...
 
-   print("My Script Finished: {:.4f} sec".format(time.time() - time_start))
+   print("My Script Finished: %.4f sec" % (time.time() - time_start))
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index af1cccf0c46..1b2f22217ca 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -359,7 +359,7 @@ INFO_DOCS = (
     ("info_tips_and_tricks.rst",
      "Tips and Tricks: Hints to help you while writing scripts for Blender"),
     ("info_gotcha.rst",
-     "Gotcha's: some of the problems you may come up against when writing scripts"),
+     "Gotcha's: some of the problems you may encounter when writing scripts"),
     ("change_log.rst", "List of changes since last Blender release"),
 )



More information about the Bf-blender-cvs mailing list