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



--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to