Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
62fa51f1
Commit
62fa51f1
authored
Mar 09, 2019
by
Carl Bordum Hansen
Committed by
Miss Islington (bot)
Mar 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos and improve grammar in threading.Barrier docstrings (GH-12210)
parent
1b304f99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Lib/threading.py
Lib/threading.py
+3
-3
No files found.
Lib/threading.py
View file @
62fa51f1
...
@@ -568,8 +568,8 @@ class Barrier:
...
@@ -568,8 +568,8 @@ class Barrier:
"""Implements a Barrier.
"""Implements a Barrier.
Useful for synchronizing a fixed number of threads at known synchronization
Useful for synchronizing a fixed number of threads at known synchronization
points. Threads block on 'wait()' and are simultaneously
once they have all
points. Threads block on 'wait()' and are simultaneously
awoken once they
made that call.
have all
made that call.
"""
"""
...
@@ -578,7 +578,7 @@ class Barrier:
...
@@ -578,7 +578,7 @@ class Barrier:
'action' is a callable which, when supplied, will be called by one of
'action' is a callable which, when supplied, will be called by one of
the threads after they have all entered the barrier and just prior to
the threads after they have all entered the barrier and just prior to
releasing them all. If a 'timeout' is provided, it is use
s
as the
releasing them all. If a 'timeout' is provided, it is use
d
as the
default for all subsequent 'wait()' calls.
default for all subsequent 'wait()' calls.
"""
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment