mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Use the zero argument form of super() in examples for Python3 docs. (GH-22314)
This commit is contained in:
parent
425434dadc
commit
52cd6d5e1b
6 changed files with 12 additions and 12 deletions
|
@ -1926,7 +1926,7 @@ client to access it remotely::
|
|||
>>> class Worker(Process):
|
||||
... def __init__(self, q):
|
||||
... self.q = q
|
||||
... super(Worker, self).__init__()
|
||||
... super().__init__()
|
||||
... def run(self):
|
||||
... self.q.put('local hello')
|
||||
...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue