From b0449cac6629b6f3f86ecacabdebc7e24ad51c37 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Tue, 23 Jun 2020 17:08:32 -0400 Subject: API Docs: Small edits to recent commit - Revert string formatting change - Add missing text edit --- doc/python_api/rst/info_best_practice.rst | 2 +- doc/python_api/sphinx_doc_gen.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"), ) -- cgit v1.2.3