Browse Source

dtoolbase: docstring clarification for record_python_type

[skip ci]
rdb 6 years ago
parent
commit
3a6f7fcde1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/src/dtoolbase/typeRegistry.cxx

+ 1 - 1
dtool/src/dtoolbase/typeRegistry.cxx

@@ -210,7 +210,7 @@ record_alternate_name(TypeHandle type, const string &name) {
 #ifdef HAVE_PYTHON
 /**
  * Records the given Python type pointer in the type registry for the benefit
- * of interrogate.
+ * of interrogate, which expects this to contain a Dtool_PyTypedObject.
  */
 void TypeRegistry::
 record_python_type(TypeHandle type, PyObject *python_type) {