Re: what is the / mean in __init__(self, /, *args, **kwargs) ?

2014-08-14 Thread luofeiyu
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

Re: what is the / mean in __init__(self, /, *args, **kwargs) ?

2014-08-14 Thread Mark Lawrence
On 14/08/2014 03:08, Ben Finney wrote: luofeiyu elearn2...@gmail.com writes: 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) ? I

what is the / mean in __init__(self, /, *args, **kwargs) ?

2014-08-13 Thread luofeiyu
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) ? -- https://mail.python.org/mailman/listinfo/python-list

Re: what is the / mean in __init__(self, /, *args, **kwargs) ?

2014-08-13 Thread Ben Finney
luofeiyu elearn2...@gmail.com writes: 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) ? I don't know, I haven't seen that before

Re: what is the / mean in __init__(self, /, *args, **kwargs) ?

2014-08-13 Thread Tim Chase
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

Re: what is the / mean in __init__(self, /, *args, **kwargs) ?

2014-08-13 Thread Ethan Furman
On 08/13/2014 07:01 PM, 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) ? The '/' means that all arguments before

Re: what is the / mean in __init__(self, /, *args, **kwargs) ?

2014-08-13 Thread Ethan Furman
On 08/13/2014 07:12 PM, Tim Chase wrote: Where are you seeing this? Probably in 3.4, or the tip (what will be 3.5). -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: what is the / mean in __init__(self, /, *args, **kwargs) ?

2014-08-13 Thread Ben Finney
Tim Chase python.l...@tim.thechases.com writes: 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

Re: what is the / mean in __init__(self, /, *args, **kwargs) ?

2014-08-13 Thread Terry Reedy
On 8/13/2014 10:20 PM, Ethan Furman wrote: On 08/13/2014 07:01 PM, 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