The labo- ratory experiments are generally conducted under highly con- trolled conditions with very few distractors present and using arbitrary stimuli as CSs. In contrast, in daily life, CSs concern non-arbitrary naturalistic stimuli, and the CS–US associations will, for example, be more ...
In this example, the @my_decorator syntax applies the my_decorator decorator to the my_function function, so that when you call my_function(2), the wrapper function returned by my_decorator is called instead, which first prints “Before the function is called.”, then calls my_function(2)...