+
    WBi0                     R    R t ^t^t^t ! R R]4      t ! R R4      tR tR tR t	R# )	z
Typical class with private members.

Here we're just trying to make a fairly straightforward class
that has some private (Python-enforced private, name-mangled)
and protected (by convention only, a.k.a. "bed lump")
variables.
c                      a  ] tR t^t o Rt^t^t^tR tR t	R t
R tR t]R 4       t]R 4       t ! R	 R
]4      t ! R R]4      t ! R R]4      tRtV tR# )NewStyleSamplez}
A sample new-style class.

Nothing special, just a basic new-style class that has some
private and protected members in it.
c                0    ^V n         ^V n        ^V n        R# z$
This constructor won't be private.
N__notPrivateAttr___NewStyleSample__privateAttr_protectedAttrselfs   &A/usr/lib/python3.14/site-packages/doxypypy/test/sample_privacy.py__init__NewStyleSample.__init__        #$    c                6    ^p^p^pWn         W n        W0n        R# z
This will be not be private.
Nr   r   r   r   r	   s   &   r   __notPrivateClassMethod__(NewStyleSample.__notPrivateClassMethod__#   &     "4*,r   c                6    ^p^p^pWn         W n        W0n        R# 
This will be private.
Nr   r   s   &   r   __privateClassMethod#NewStyleSample.__privateClassMethod.   r   r   c                6    ^p^p^pWn         W n        W0n        R# 
This will be protected.
Nr   r   s   &   r   _protectedClassMethod$NewStyleSample._protectedClassMethod9   r   r   c                F    ^ p^p^p^pWn         W n        W0n        W@n        R# 
This will be public.
N)publicr   r   r	   )r   r$   r   r   r	   s   &    r   publicClassMethod NewStyleSample.publicClassMethodD   s0     "4*,r   c                 ,    ^p ^p^pW,           V,           # z$
This static method will be public.
 r   s      r   publicClassStaticMethod&NewStyleSample.publicClassStaticMethodQ   "    
 !1NBBr   c                P    ^p^p^pWn         W n        W0n        W,           V,           # z#
This class method will be public.
r   r   s   &   r   publicClassClassMethod%NewStyleSample.publicClassClassMethod[   s4    
 "4*,!1NBBr   c                   *   a  ] tR t^ht o RtR tRtV tR# )"NewStyleSample.__innerNotPrivate__P
An inner not private class.

Nothing special, just a not private helper class.
c                >    ^ V n         ^V n        ^V n        ^V n        R# r   r$   r   _innerNotPrivate____privateAttrr	   r
   s   &r   r   +NewStyleSample.__innerNotPrivate__.__init__o   #     DK&'D#!"D"#Dr   r   __privateAttrr	   r$   N__name__
__module____qualname____firstlineno____doc__r   __static_attributes____classdictcell____classdict__s   @r   __innerNotPrivate__r2   h        		$ 	$r   rE   c                   *   a  ] tR t^xt o RtR tRtV tR# )NewStyleSample.__innerProtectedL
An inner protected class.

Nothing special, just a protected helper class.
c                >    ^ V n         ^V n        ^V n        ^V n        R# r   r$   r   _innerProtected__privateAttrr	   r
   s   &r   r   (NewStyleSample.__innerProtected.__init__   r8   r   r9   Nr;   rC   s   @r   __innerProtectedrH   x   rF   r   rN   c                   *   a  ] tR t^t o RtR tRtV tR# )NewStyleSample.__innerPrivateH
An inner private class.

Nothing special, just a private helper class.
c                >    ^ V n         ^V n        ^V n        ^V n        R# r   r$   r   _innerPrivate__privateAttrr	   r
   s   &r   r   &NewStyleSample.__innerPrivate.__init__   r8   r   r9   Nr;   rC   s   @r   __innerPrivaterP      rF   r   rV   r9   N)r<   r=   r>   r?   r@   __notPrivateClassAttr__!_NewStyleSample__privateClassAttr_protectedClassAttrr   r   #_NewStyleSample__privateClassMethodr   r%   staticmethodr*   classmethodr/   objectrE   _NewStyleSample__innerProtected_NewStyleSample__innerPrivaterA   rB   rC   s   @r   r   r      s        	-	-	-- C C 
C 
C$f $ $6 $ $ $ $r   r   c                      a  ] tR t^t o Rt^t^t^tR tR t	R t
R tR t]R 4       t]R 4       t ! R	 R
4      t ! R R4      t ! R R4      tRtV tR# )OldStyleSamplez}
A sample old-style class.

Nothing special, just a basic old-style class that has some
private and protected members in it.
c                0    ^V n         ^V n        ^V n        R# r   r   _OldStyleSample__privateAttrr	   r
   s   &r   r   OldStyleSample.__init__   r   r   c                6    ^p^p^pWn         W n        W0n        R# r   rc   r   r   rd   r	   s   &   r   r   (OldStyleSample.__notPrivateClassMethod__   r   r   c                6    ^p^p^pWn         W n        W0n        R# r   rc   rg   s   &   r   r   #OldStyleSample.__privateClassMethod   r   r   c                6    ^p^p^pWn         W n        W0n        R# r   rc   rg   s   &   r   r   $OldStyleSample._protectedClassMethod   r   r   c                6    ^p^p^pWn         W n        W0n        R# r"   rc   rg   s   &   r   r%    OldStyleSample.publicClassMethod   r   r   c                 ,    ^p ^p^pW,           V,           # r(   r)   rc   s      r   r*   &OldStyleSample.publicClassStaticMethod   r,   r   c                `    ^ p^p^p^pWn         W n        W0n        W@n        W#,           V,           # r.   )r$   r   rd   r	   )r   r$   r   rd   r	   s   &    r   r/   %OldStyleSample.publicClassClassMethod   s>    
 "4*,!1NBBr   c                   *   a  ] tR t^t o RtR tRtV tR# )"OldStyleSample.__innerNotPrivate__r3   c                >    ^ V n         ^V n        ^V n        ^V n        R# r   r5   r
   s   &r   r   +OldStyleSample.__innerNotPrivate__.__init__   r8   r   r9   Nr;   rC   s   @r   rE   rt      rF   r   rE   c                   *   a  ] tR tRt o RtR tRtV tR# )OldStyleSample.__innerProtectedi  rI   c                >    ^ V n         ^V n        ^V n        ^V n        R# r   rK   r
   s   &r   r   (OldStyleSample.__innerProtected.__init__	  r8   r   r9   Nr;   rC   s   @r   rN   rx     rF   r   rN   c                   *   a  ] tR tRt o RtR tRtV tR# )OldStyleSample.__innerPrivatei  rQ   c                >    ^ V n         ^V n        ^V n        ^V n        R# r   rS   r
   s   &r   r   &OldStyleSample.__innerPrivate.__init__  r8   r   r9   Nr;   rC   s   @r   rV   r|     rF   r   rV   r9   N)r<   r=   r>   r?   r@   rW   !_OldStyleSample__privateClassAttrrY   r   r   #_OldStyleSample__privateClassMethodr   r%   r[   r*   r\   r/   rE   _OldStyleSample__innerProtected_OldStyleSample__innerPrivaterA   rB   rC   s   @r   ra   ra      s        	-	-	-	- C C C C$ $ $ $ $ $r   ra   c                    aaa ^o^o^oVVV3R lp VVV3R lpVVV3R lpVVV3R lpW,           V,           V,           # )zq
A sample function.

Nothing special, just a basic function that has some private
and protected variables in it.
c                 .   < Sp SpSpW,           V,           # z
This will not be private.
r)   r   r:   r	   __notPrivateFunctionAttr____privateFunctionAttr_protectedFunctionAttrs      r   __notPrivateFunction__(Function.<locals>.__notPrivateFunction__.  #     8-/!1NBBr   c                 .   < Sp SpSpW,           V,           # r   r)   r   s      r   __privateNestedFunction)Function.<locals>.__privateNestedFunction7  r   r   c                 .   < Sp SpSpW,           V,           # r   r)   r   s      r   _protectedNestedFunction*Function.<locals>._protectedNestedFunction@  r   r   c                 .   < Sp SpSpW,           V,           # r#   r)   r   s      r   publicNestedFunction&Function.<locals>.publicNestedFunctionI  r   r   r)   r   r   r   r   r   r   r   s       @@@r   Functionr   #  L     "#CCCC ";
"#%9: :r   c                    aaa ^o^o^oVVV3R lp VVV3R lpVVV3R lpVVV3R lpW,           V,           V,           # )z
A sample protected function.

Nothing special, just a basic protected function that has some
private and protected variables in it.
c                 .   < Sp SpSpW,           V,           # r   r)   r   s      r   r   2_ProtectedFunction.<locals>.__notPrivateFunction__a  r   r   c                 .   < Sp SpSpW,           V,           # r   r)   r   s      r   r   3_ProtectedFunction.<locals>.__privateNestedFunctionj  r   r   c                 .   < Sp SpSpW,           V,           # r   r)   r   s      r   r   4_ProtectedFunction.<locals>._protectedNestedFunctions  r   r   c                 .   < Sp SpSpW,           V,           # r   r)   r   s      r   r   0_ProtectedFunction.<locals>.publicNestedFunction|  r   r   r)   r   s       @@@r   _ProtectedFunctionr   V  r   r   c                    aaa ^o^o^oVVV3R lp VVV3R lpVVV3R lpVVV3R lpW,           V,           V,           # )z
A sample private function.

Nothing special, just a basic private function that has some
private and protected variables in it.
c                 .   < Sp SpSpW,           V,           # r   r)   r   s      r   r   1__PrivateFunction.<locals>.__notPrivateFunction__  r   r   c                 .   < Sp SpSpW,           V,           # r   r)   r   s      r   r   2__PrivateFunction.<locals>.__privateNestedFunction  r   r   c                 .   < Sp SpSpW,           V,           # r   r)   r   s      r   r   3__PrivateFunction.<locals>._protectedNestedFunction  r   r   c                 .   < Sp SpSpW,           V,           # r   r)   r   s      r   r   /__PrivateFunction.<locals>.publicNestedFunction  r   r   r)   r   s       @@@r   __PrivateFunctionr     r   r   N)
r@   __notPrivateModuleAttr____privateModuleAttr_protectedModuleAttrr]   r   ra   r   r   r   r)   r   r   <module>r      sK       G$V G$TG$ G$T0:f0:f0:r   