
    \h                     "    S r S/r " S S5      rg)zMixin classes for sharing functionality between unrelated classes.

This module is named with a leading underscore to signify to users that it's
"private" and only intended for internal use by the biomechanics module.

_NamedMixinc                   `    \ rS rSrSr\S\4S j5       r\R                  S\SS4S j5       rSr	g)	r      aK  Mixin class for adding `name` properties.

Valid names, as will typically be used by subclasses as a suffix when
naming automatically-instantiated symbol attributes, must be nonzero length
strings.

Attributes
==========

name : str
    The name identifier associated with the instance. Must be a string of
    length at least 1.

returnc                     U R                   $ )z,The name associated with the class instance._name)selfs    Y/var/www/auris/envauris/lib/python3.13/site-packages/sympy/physics/biomechanics/_mixin.pyname_NamedMixin.name   s     zz    r   Nc                 J   [        U S5      (       a  S[        U5       S3n[        U5      e[        U[        5      (       d-  S[        U5       S[        U5       S[         S3n[        U5      eUS;   a*  S[        U5       S	[        [        5       S3n[        U5      eXl        g )
Nr   zCan't set attribute `name` to z as it is immutable.zName z passed to `name` was of type z
, must be .>    z& is invalid, must be a nonzero length )	hasattrreprAttributeError
isinstancestrtype	TypeError
ValueErrorr   )r	   r   msgs      r
   r   r   !   s    4!!1$t* >   !%%$$$T
|#A:,jQ0  C. 4<T
|#I9+Q   S/!
r   r   )
__name__
__module____qualname____firstlineno____doc__propertyr   r   setter__static_attributes__ r   r
   r   r      sH     c   
[[   r   N)r   __all__r   r"   r   r
   <module>r$      s    /) )r   