Browse Source

Fixed some typo's

rdb 17 years ago
parent
commit
24641a7ab4

+ 1 - 1
direct/src/extensions_native/NodePathCollection_extensions.py

@@ -7,7 +7,7 @@ from libpanda import *
 # For iterating over children
 def asList(self):
     """Converts a NodePathCollection into a list"""
-    print "Warning: NodePathCollection is no longer needed and deprecated.  Iterate on the collection directly instead."
+    print "Warning: NodePathCollection.asList() is no longer needed and deprecated.  Iterate on the collection directly instead."
     return list(self)
         
 Dtool_funcToMethod(asList, NodePathCollection)        

+ 1 - 1
direct/src/extensions_native/NodePath_extensions.py

@@ -28,7 +28,7 @@ del id
     # For iterating over children
 def getChildrenAsList(self):
         """Converts a node path's child NodePathCollection into a list"""
-        print "Warning: NodePath.getChildren() is deprecated.  Use getChildren() instead."
+        print "Warning: NodePath.getChildrenAsList() is deprecated.  Use getChildren() instead."
         return list(self.getChildren())
 
 Dtool_funcToMethod(getChildrenAsList, NodePath)