PyDoc: make examples self contained, resolve type warnings

Some examples were missing missing imports,
resolve some mypy warnings.
This commit is contained in:
Campbell Barton 2026-02-12 00:25:15 +00:00
parent 73940408bb
commit 084333edb0
11 changed files with 53 additions and 10 deletions

View file

@ -2,4 +2,6 @@
It is also possible to create subscriptions on a property of all instances of a
certain type:
"""
import bpy
subscribe_to = (bpy.types.Object, "location")