Yogi breaks cane when spanked - it's deviancy (9)
I believe the answer is:
aberrance
'spanked it's deviancy' is the definition.
I can't tell whether this definition defines the answer.
'yogi breaks cane' is the wordplay.
I cannot quite understand how this works, but
'yogi' could be 'berra' (I've seen this in another clue) and 'berra' is found in the answer.
an anagram of 'cane' is 'ance' which is located in the answer.
This accounts for all the letters.
This may be the basis of the clue (or it may be nonsense).
'when' acts as a link.
Can you help me to learn more?
(Other definitions for aberrance that I've seen before include "going in the wrong direction" , "Atypical behaviour" , "Deviation from normal" .)