On Fri, Jul 25, 2014 at 3:54 AM, fl <rxjw...@gmail.com> wrote:
> It is also a question about the symbol '@' on that link.
>
> I don't find an explanation about '@' yet. Could you tell me?
>
> Thanks,
>
>
>
> @with_setup(my_setup_function, my_teardown_function)
> def test_numbers_3_4():
>     print 'test_numbers_3_4  <============================ actual test code'
>     assert multiply(3,4) == 12
>

That's a function decorator. You can look them up on the web now that
you know what they're called. :)

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to