Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76272 > unrolled thread
| Started by | luofeiyu <elearn2014@gmail.com> |
|---|---|
| First post | 2014-08-14 15:19 +0800 |
| Last post | 2014-08-14 15:19 +0800 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: what is the "/" mean in __init__(self, /, *args, **kwargs) ? luofeiyu <elearn2014@gmail.com> - 2014-08-14 15:19 +0800
| From | luofeiyu <elearn2014@gmail.com> |
|---|---|
| Date | 2014-08-14 15:19 +0800 |
| Subject | Re: what is the "/" mean in __init__(self, /, *args, **kwargs) ? |
| Message-ID | <mailman.12974.1408000806.18130.python-list@python.org> |
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 top | Article view | comp.lang.python
csiph-web