From 3cbf20228ee84b838cc777c8129a30eaa58c62d1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 15 Mar 2022 14:53:49 +1100 Subject: Cleanup: use single back-ticks in regular comments Double back-ticks are used for RST literals. --- release/scripts/modules/bl_keymap_utils/versioning.py | 4 ++-- release/scripts/startup/bl_ui/space_toolsystem_common.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'release') diff --git a/release/scripts/modules/bl_keymap_utils/versioning.py b/release/scripts/modules/bl_keymap_utils/versioning.py index 59ea2e62d3b..ba83892c12c 100644 --- a/release/scripts/modules/bl_keymap_utils/versioning.py +++ b/release/scripts/modules/bl_keymap_utils/versioning.py @@ -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 diff --git a/release/scripts/startup/bl_ui/space_toolsystem_common.py b/release/scripts/startup/bl_ui/space_toolsystem_common.py index 3e4f7f6fbcb..36d801154ca 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_common.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_common.py @@ -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. # -- cgit v1.2.3