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
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
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
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
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
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
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
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
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