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
8f35c75c
Commit
8f35c75c
authored
Aug 01, 2004
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lock_held() docs: Use True/False instead of 1/0. The LaTeX docs were
already correct, so not changed here.
parent
6a953cf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Python/import.c
Python/import.c
+3
-3
No files found.
Python/import.c
View file @
8f35c75c
...
...
@@ -2692,9 +2692,9 @@ Create a new module. Do not enter it in sys.modules.\n\
The module name must include the full package name, if any."
);
PyDoc_STRVAR
(
doc_lock_held
,
"lock_held() ->
0 or 1
\n
\
Return
1 if the import lock is currently held
.
\n
\
On platforms without threads, return
0
."
);
"lock_held() ->
boolean
\n
\
Return
True if the import lock is currently held, else False
.
\n
\
On platforms without threads, return
False
."
);
PyDoc_STRVAR
(
doc_acquire_lock
,
"acquire_lock() -> None
\n
\
...
...
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