mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Print message when we load a PYC resource, if verbose import flag is on.
This commit is contained in:
parent
1cd4d52f2f
commit
fa68b07526
1 changed files with 3 additions and 0 deletions
|
@ -830,6 +830,9 @@ char *filename;
|
|||
} else {
|
||||
m = NULL;
|
||||
}
|
||||
if (Py_VerboseFlag)
|
||||
fprintf(stderr, "import %s # pyc resource from %s\n",
|
||||
module, filename);
|
||||
return m;
|
||||
error:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue