@@ -336,7 +336,7 @@ async def interpolate_scalar(self, start, end, *, duration, step=0, transition=_
336336
337337 interpolate = interpolate_scalar
338338 '''
339- An alias for :meth:`interpolate_scalar`.
339+ An alias of :meth:`interpolate_scalar`.
340340
341341 .. versionadded:: 0.5.2
342342 '''
@@ -380,7 +380,7 @@ async def interpolate_sequence(self, start, end, *, duration, step=0, transition
380380
381381 interpolate_seq = interpolate_sequence
382382 '''
383- An alias for :meth:`interpolate_sequence`.
383+ An alias of :meth:`interpolate_sequence`.
384384 '''
385385
386386 def _update (setattr , zip , min , obj , duration , transition , anim_params , task , p_time , dt ):
@@ -440,14 +440,24 @@ def _anim_attrs(
440440
441441 def anim_attrs (self , obj , * , duration , step = 0 , transition = _linear , ** animated_properties ) -> Awaitable :
442442 '''
443- Animates attibutes of any object.
443+ Animates attributes of any object.
444444
445445 .. code-block::
446446
447447 import types
448448
449449 obj = types.SimpleNamespace(x=0, size=(200, 300))
450450 await clock.anim_attrs(obj, x=100, size=(400, 400), duration=2)
451+
452+ Only numbers and flat numeric sequences are supported.
453+ Nested sequences and dictionaries are not supported.
454+
455+ .. code-block::
456+
457+ await anim_attrs(obj, dictionary={'x': 1.}) # not supported
458+ await anim_attrs(obj, nested_sequence=[[10, 20, ]]) # not supported
459+
460+ await anim_attrs(obj, number=1, flat_sequence=(100, 200)) # OK
451461 '''
452462 return self ._anim_attrs (obj , duration , step , transition , animated_properties )
453463
0 commit comments