mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
makepanda: add docstring for panda3d.dtoolconfig module
This commit is contained in:
parent
15d6e0c543
commit
2d11f36c9e
@ -2949,7 +2949,13 @@ if not PkgSkip("PYTHON"):
|
|||||||
ConditionalWriteFile(GetOutputDir() + '/panda3d/__init__.py', p3d_init)
|
ConditionalWriteFile(GetOutputDir() + '/panda3d/__init__.py', p3d_init)
|
||||||
|
|
||||||
# Also add this file, for backward compatibility.
|
# Also add this file, for backward compatibility.
|
||||||
ConditionalWriteFile(GetOutputDir() + '/panda3d/dtoolconfig.py', """
|
ConditionalWriteFile(GetOutputDir() + '/panda3d/dtoolconfig.py', """\
|
||||||
|
'''Alias of :mod:`panda3d.interrogatedb`.
|
||||||
|
|
||||||
|
.. deprecated:: 1.10.0
|
||||||
|
This module has been renamed to :mod:`panda3d.interrogatedb`.
|
||||||
|
'''
|
||||||
|
|
||||||
if __debug__:
|
if __debug__:
|
||||||
print("Warning: panda3d.dtoolconfig is deprecated, use panda3d.interrogatedb instead.")
|
print("Warning: panda3d.dtoolconfig is deprecated, use panda3d.interrogatedb instead.")
|
||||||
from .interrogatedb import *
|
from .interrogatedb import *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user