Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76272
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <elearn2014@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.011 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'initialize': 0.07; '*args,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '"/"': 0.16; '**kwargs)': 0.16; '-tkc': 0.16; '2.7.3': 0.16; 'initializes': 0.16; 'to:addr:python.list': 0.16; 'to:addr:tim.thechases.com': 0.16; 'to:name:tim chase': 0.16; 'wrote:': 0.18; 'feb': 0.22; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'this?': 0.23; 'header:User-Agent:1': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'tim': 0.29; '>>>>': 0.31; 'chase': 0.31; 'subject:what': 0.31; 'skip:_ 10': 0.34; 'subject:the': 0.34; 'received:google.com': 0.35; 'received:10': 0.37; 'message- id:@gmail.com': 0.38; 'skip:x 10': 0.40; 'more': 0.64; 'charset:windows-1252': 0.65; 'mar': 0.68; '2014,': 0.84; 'subject:self': 0.84; '2013,': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=J6ya/XpDZbwQumof/39Nufh127RnFWHsyUzijVPsnPo=; b=Co6/ubcZFBSy//RsYtEbMMUYMcP5Mztw6ROCCdc4jdj6CLjc6/hCfV2NrBeWvKep1k 2ZCZoroq4H+40VHUZQ3yIAlHlns29uWM45AX/VFeYHJQ4UCXQ7/9Dsn9Sl84okjCOqcD ReFiP9de7q7EeA9KBPGglVWShsCXUV7KBfOLAggRVbV9lIDVtuhpJy0ySYx9hA/x8/ED OW2ehQ7Yngp/lxVVEB9d7SldRgzFZ3ogyEZ1N2nU52MR+/25ZhEf6wGW9i8MHVviZrPp yslESc/NGxsvbVj3CDPKK+cEPVekbuLJRylYxdKY8bDGzbCXcMDG1i9tS2HoDxmj3Bcr sUXw== |
| X-Received | by 10.68.57.194 with SMTP id k2mr2614821pbq.67.1408000802721; Thu, 14 Aug 2014 00:20:02 -0700 (PDT) |
| Date | Thu, 14 Aug 2014 15:19:51 +0800 |
| From | luofeiyu <elearn2014@gmail.com> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
| MIME-Version | 1.0 |
| To | Tim Chase <python.list@tim.thechases.com> |
| Subject | Re: what is the "/" mean in __init__(self, /, *args, **kwargs) ? |
| References | <53EC1887.6060205@gmail.com> <20140813211212.0c0843b8@bigbox.christie.dr> |
| In-Reply-To | <20140813211212.0c0843b8@bigbox.christie.dr> |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Cc | python-list@python.org |
| 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.12974.1408000806.18130.python-list@python.org> (permalink) |
| Lines | 42 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1408000806 news.xs4all.nl 2890 [2001:888:2000:d::a6]:32781 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:76272 |
Show key headers only | View raw
python3.4 On 8/14/2014 10:12 AM, Tim Chase wrote: > On 2014-08-14 10:01, luofeiyu wrote: >> >>> help(int.__init__) >> Help on wrapper_descriptor: >> >> __init__(self, /, *args, **kwargs) >> Initialize self. See help(type(self)) for accurate signature. >> >> what is the "/" mean in __init__(self, /, *args, **kwargs) ? > Where are you seeing this? > > > > Python 2.7.3 (default, Mar 13 2014, 11:03:55) > [GCC 4.7.2] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> help(int.__init__) > Help on wrapper_descriptor: > > __init__(...) > x.__init__(...) initializes x; see help(type(x)) for signature >>>> ^D > > Python 3.2.3 (default, Feb 20 2013, 14:44:27) > [GCC 4.7.2] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> help(int.__init__) > Help on wrapper_descriptor: > > __init__(...) > x.__init__(...) initializes x; see help(type(x)) for signature > > > > -tkc > >
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: what is the "/" mean in __init__(self, /, *args, **kwargs) ? luofeiyu <elearn2014@gmail.com> - 2014-08-14 15:19 +0800
csiph-web