Kaydet (Commit) 1f40cd63 authored tarafından Guido van Rossum's avatar Guido van Rossum

Add the __doc__ string from the original module on copy_none().

üst 929bd0e0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment