How can I import unnecessary_math?
tjreedy at udel.edu
Thu Jul 24 20:17:45 CEST 2014
On 7/24/2014 1:58 PM, Chris Angelico wrote:
> On Fri, Jul 25, 2014 at 3:54 AM, fl <rxjwg98 at 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?
The Python docs have an index. I STRONGLY recommend that everyone learn
to use it. The index starts with a Symbols page.
The page may not be complete yet (I plan to recheck sometime), but it
has an entry for '@'. If you do not want to search the page for '@',
your browser find function (typically control-F) should find it for you.
That entry takes you to
>> @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. :)
The Symbol index page was added to make knowing names unnecessary.
Terry Jan Reedy
More information about the Python-list