Cleanup: use single back-ticks in regular comments

Double back-ticks are used for RST literals.
This commit is contained in:
Campbell Barton 2022-03-15 14:53:49 +11:00
parent f410efbda0
commit 3cbf20228e
2 changed files with 6 additions and 6 deletions

View File

@ -4,8 +4,8 @@
# Update Blender version this key-map was written in:
#
# When the version is ``(0, 0, 0)``, the key-map being loaded didn't contain any versioning information.
# This will older than ``(2, 92, 0)``.
# When the version is `(0, 0, 0)`, the key-map being loaded didn't contain any versioning information.
# This will older than `(2, 92, 0)`.
def keyconfig_update(keyconfig_data, keyconfig_version):
from bpy.app import version_file as blender_version

View File

@ -55,7 +55,7 @@ ToolDef = namedtuple(
# Description (for tool-tip), when not set, use the description of 'operator',
# may be a string or a 'function(context, item, key-map) -> string'.
"description",
# The name of the icon to use (found in ``release/datafiles/icons``) or None for no icon.
# The name of the icon to use (found in `release/datafiles/icons`) or None for no icon.
"icon",
# An optional cursor to use when this tool is active.
"cursor",
@ -65,12 +65,12 @@ ToolDef = namedtuple(
"widget",
# Optional key-map for tool, possible values are:
#
# - ``None`` when the tool doesn't have a key-map.
# - `None` when the tool doesn't have a key-map.
# Also the default value when no key-map value is defined.
#
# - A string literal for the key-map name, the key-map items are located in the default key-map.
#
# - ``()`` an empty tuple for a default name.
# - `()` an empty tuple for a default name.
# This is convenience functionality for generating a key-map name.
# So if a tool name is "Bone Size", in "Edit Armature" mode for the "3D View",
# All of these values are combined into an id, e.g:
@ -82,7 +82,7 @@ ToolDef = namedtuple(
# - A function that populates a key-maps passed in as an argument.
#
# - A tuple filled with triple's of:
# ``(operator_id, operator_properties, keymap_item_args)``.
# `(operator_id, operator_properties, keymap_item_args)`.
#
# Use this to define the key-map in-line.
#