Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76244

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

Date 2014-08-14 10:01 +0800
From luofeiyu <elearn2014@gmail.com>
Subject what is the "/" mean in __init__(self, /, *args, **kwargs) ?
Newsgroups comp.lang.python
Message-ID <mailman.12953.1407981718.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

what is the "/" mean in __init__(self, /, *args, **kwargs) ? luofeiyu <elearn2014@gmail.com> - 2014-08-14 10:01 +0800

csiph-web