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


Groups > comp.lang.python > #16991

Re: Verbose and flexible args and kwargs syntax

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!amsnews11.chello.com!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'received:verizon.net': 0.07; 'symbols': 0.07; 'terry': 0.07; 'url:googlecode': 0.07; 'python': 0.08; 'doc,': 0.09; 'expressions.': 0.09; 'pages.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'am,': 0.12; 'entries': 0.15; 'really.': 0.16; 'reedy': 0.16; 'subject:syntax': 0.16; 'syntax': 0.16; 'wrote:': 0.18; "'python": 0.18; 'jan': 0.19; 'wrote': 0.22; 'header:In-Reply-To:1': 0.22; 'function': 0.27; 'for,': 0.30; 'plus,': 0.30; 'does': 0.32; 'list': 0.32; 'header:User-Agent:1': 0.33; 'header:X-Complaints-To:1': 0.33; 'there': 0.33; 'to:addr:python-list': 0.34; 'it.': 0.34; 'forces': 0.34; 'symbol': 0.34; 'google': 0.35; 'post': 0.36; 'uses': 0.36; 'page': 0.37; 'reference': 0.37; 'chapter': 0.38; 'received:org': 0.38; 'couple': 0.38; 'finding': 0.39; 'to:addr:python.org': 0.40; 'more': 0.61; 'google.': 0.64; 'forum': 0.64; 'show': 0.67; 'calls,': 0.84; 'surprise,': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Verbose and flexible args and kwargs syntax
Date Sun, 11 Dec 2011 18:26:39 -0500
References <4EE48AB3.7070807@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-74-109-121-73.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
In-Reply-To <4EE48AB3.7070807@gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3519.1323646018.27778.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1323646018 news.xs4all.nl 6845 [2001:888:2000:d::a6]:47926
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:16991

Show key headers only | View raw


On 12/11/2011 5:49 AM, Eelco Hoogendoorn wrote:

> Plus, asterikses are impossible to google for, so finding out what exactly
 > they do more or less forces you to write a forum post about it.

There are other means of finding information than Google. Really.
1. A couple of years ago, I wrote a very complete list of symbol syntax 
uses in Python 3. You can get is at
https://xploro.googlecode.com/files/PySymbols.html
Unfortunately, searching for 'python syntax symbols' does not show this 
on the first few pages.
2. The python docs have an index. While the Symbols page does not have 
most of the entries in the above doc, it does have '* in function calls' 
and '** in function calls'.
3. The meaning of * and ** in function calls is explained, surprise, in 
the reference manual section (5.3.4 for Py3) on function calls, which is 
in the chapter on expressions.

-- 
Terry Jan Reedy

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


Thread

Re: Verbose and flexible args and kwargs syntax Terry Reedy <tjreedy@udel.edu> - 2011-12-11 18:26 -0500

csiph-web