Cleanup: remove unused functions, imports

This commit is contained in:
Campbell Barton
2025-01-04 21:01:40 +11:00
parent 3091dadfeb
commit 444f1064c9
11 changed files with 2 additions and 64 deletions

View File

@@ -651,20 +651,6 @@ def undocumented_message(module_name, type_name, identifier):
return "Undocumented, consider `contributing <https://developer.blender.org/>`__."
def range_str(val):
"""
Converts values to strings for the range directive.
(unused function it seems)
"""
if val < -10000000:
return "-inf"
if val > 10000000:
return "inf"
if type(val) == float:
return "{:g}".format(val)
return str(val)
def example_extract_docstring(filepath):
"""
Return (text, line_no, line_no_has_content) where:

View File

@@ -12,7 +12,6 @@ expanding an operator into a menu.
def main():
import bpy
from bpy.types import Operator
def dummy_func(_test):