mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +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 {
|
} else {
|
||||||
m = NULL;
|
m = NULL;
|
||||||
}
|
}
|
||||||
|
if (Py_VerboseFlag)
|
||||||
|
fprintf(stderr, "import %s # pyc resource from %s\n",
|
||||||
|
module, filename);
|
||||||
return m;
|
return m;
|
||||||
error:
|
error:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue