fake-bpy-module icon indicating copy to clipboard operation
fake-bpy-module copied to clipboard

mathutils Color, Euler should have the __getitem__() method

Open JonathanPlasse opened this issue 1 year ago • 0 comments

The following code is valid

from mathutils import Color, Euler

Color()[0]
Euler()[0]

This is the following code.

class Color:
    def __getitem__(self, key: int) -> float:
        ...


class Euler:
    def __getitem__(self, key: int) -> float:
        ...

JonathanPlasse avatar Dec 17 '23 16:12 JonathanPlasse