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
1f40cd63
Commit
1f40cd63
authored
Jun 09, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add the __doc__ string from the original module on copy_none().
parent
929bd0e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Lib/rexec.py
Lib/rexec.py
+3
-1
No files found.
Lib/rexec.py
View file @
1f40cd63
...
...
@@ -244,7 +244,9 @@ class RExec(ihooks._Verbose):
return
dst
def
copy_none
(
self
,
src
):
return
self
.
add_module
(
src
.
__name__
)
m
=
self
.
add_module
(
src
.
__name__
)
m
.
__doc__
=
src
.
__doc__
return
m
# Add a module -- return an existing module or create one
...
...
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