Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75165

Re: How can I import unnecessary_math?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'yet.': 0.04; 'explanation': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:How': 0.10; 'python': 0.11; 'def': 0.12; 'jan': 0.12; 'called.': 0.16; 'index.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:import': 0.16; 'subject:skip:u 10': 0.16; 'symbols': 0.16; 'unnecessary.': 0.16; 'index': 0.16; 'wrote:': 0.18; 'starts': 0.20; 'print': 0.22; 'header:User-Agent:1': 0.23; 'question': 0.24; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'chris': 0.29; 'am,': 0.29; 'strongly': 0.30; 'page.': 0.31; "skip:' 10": 0.31; '25,': 0.31; 'assert': 0.31; 'me?': 0.32; 'url:python': 0.33; 'everyone': 0.33; 'fri,': 0.33; 'link.': 0.33; 'could': 0.34; 'but': 0.35; 'entry': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'received:71': 0.39; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'tell': 0.60; 'url:3': 0.61; 'browser': 0.61; 'you.': 0.62; 'complete': 0.62; 'jul': 0.74; 'received:fios.verizon.net': 0.84; 'url:reference': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: How can I import unnecessary_math?
Date Thu, 24 Jul 2014 14:17:45 -0400
References <15d1bd3b-48f1-45d8-985c-3a5a3691805b@googlegroups.com> <mailman.12283.1406223477.18130.python-list@python.org> <c16e2ed2-8e20-409c-b019-808f51544efd@googlegroups.com> <4d6fc183-7d99-42c4-b5f2-99240f0fe32b@googlegroups.com> <CAPTjJmpuEjfjRKwWyh=eKiHrUFndQMGnqmz7wW_E-4xfz7aB8g@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-71-175-90-87.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
In-Reply-To <CAPTjJmpuEjfjRKwWyh=eKiHrUFndQMGnqmz7wW_E-4xfz7aB8g@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12289.1406225886.18130.python-list@python.org> (permalink)
Lines 29
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1406225886 news.xs4all.nl 2943 [2001:888:2000:d::a6]:40257
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75165

Show key headers only | View raw


On 7/24/2014 1:58 PM, Chris Angelico wrote:
> On Fri, Jul 25, 2014 at 3:54 AM, fl <rxjwg98@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.
https://docs.python.org/3/genindex-Symbols.html
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
https://docs.python.org/3/reference/compound_stmts.html#index-20

>> @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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How can I import unnecessary_math? fl <rxjwg98@gmail.com> - 2014-07-24 10:33 -0700
  Re: How can I import unnecessary_math? Chris Angelico <rosuav@gmail.com> - 2014-07-25 03:37 +1000
    Re: How can I import unnecessary_math? fl <rxjwg98@gmail.com> - 2014-07-24 10:48 -0700
      Re: How can I import unnecessary_math? fl <rxjwg98@gmail.com> - 2014-07-24 10:54 -0700
        Re: How can I import unnecessary_math? Chris Angelico <rosuav@gmail.com> - 2014-07-25 03:58 +1000
          Re: How can I import unnecessary_math? fl <rxjwg98@gmail.com> - 2014-07-24 11:18 -0700
        Re: How can I import unnecessary_math? Terry Reedy <tjreedy@udel.edu> - 2014-07-24 14:17 -0400
        Re: How can I import unnecessary_math? Chris Angelico <rosuav@gmail.com> - 2014-07-25 04:25 +1000
  Re: How can I import unnecessary_math? Ian Kelly <ian.g.kelly@gmail.com> - 2014-07-24 11:42 -0600

csiph-web