Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: What is a function parameter =[] for? Date: Wed, 25 Nov 2015 09:09:27 +1100 Lines: 15 Message-ID: References: <564dbe6b$0$1610$c3e8da3$5496439d@news.astraweb.com> <564df258$0$1604$c3e8da3$5496439d@news.astraweb.com> <8601c9af-a7d9-4642-ba1c-8edd1e4c3390@googlegroups.com> <56546985.8060704@rece.vub.ac.be> <56547337.4000709@rece.vub.ac.be> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de iCZBiOhqfQHyrXSxUcEHEwalf89+1lNiEu0jY8nAsaTA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'received:209.85.223': 0.03; 'cc:addr:python-list': 0.09; 'spec': 0.09; 'term,': 0.09; 'python': 0.10; 'itself.': 0.11; 'wed,': 0.15; '6:00': 0.16; 'definition.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'literal.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'term.': 0.16; 'wrote:': 0.16; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'please?': 0.22; 'programming': 0.22; 'am,': 0.23; '(or': 0.23; 'header:In- Reply-To:1': 0.24; "doesn't": 0.26; 'chris': 0.26; 'message- id:@mail.gmail.com': 0.27; 'agreed': 0.31; 'probably': 0.31; 'generally': 0.32; 'maybe': 0.33; 'definition': 0.34; 'that,': 0.34; 'received:google.com': 0.35; 'on,': 0.35; 'nov': 0.35; 'something': 0.35; 'received:209.85': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'rather': 0.39; 'chrisa': 0.84; 'improved.': 0.84; 'to:none': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=nLGsLamUpyhO7RxDVq0j2lDJPHZ0SRKtzqSoOYBo+fw=; b=nebfLhkZFufHqTEQ/ATEEws45TTsYsxRyMtvl9E1xzr4I7WufcZ0zGtBZR1rbKG9Ct kJiq4kFzgKoygjhuqPsnr3pFuNqf6W3BFZwSdOtijkGTY/ujpGzMK/uu24lhSTYjizV7 hCXEG0EK6WGzudjgPdHHGTo8X7B/Fk5ayF0fyYPY6ldS8panZrlHL9lupbMBUOKvCk6c IFOzFBpT1Kp8VAqA+f1kltmBCFdWtJeIkrTHNVVeSR0hZUycUXoryTInYDhWJJk0RBxu C25imhhA6cYl6c761prEIvZAanv5iSP4N2zWX8RESQGrfuuJfL4EdztDs4nvhpp5XNxl RVDQ== X-Received: by 10.107.10.233 with SMTP id 102mr31958692iok.31.1448402968129; Tue, 24 Nov 2015 14:09:28 -0800 (PST) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99402 On Wed, Nov 25, 2015 at 6:00 AM, Random832 wrote: > On 2015-11-24, Chris Angelico wrote: >> Probably the grammar. In other words, it's part of the language's very >> definition. > > Then the definition is wrong. I think "literal" is a word whose meaning is > generally agreed on, rather than something each language's spec can invent from > whole cloth for itself. It's not a python term, it's a programming term. > > And the documentation doesn't even use it consistently; it calls {} a literal. Can you link to that, please? Maybe there's something that can be improved. (Or maybe not.) ChrisA