Fixed some typo's

This commit is contained in:
rdb 2008-11-26 14:39:48 +00:00
parent 86ee18fd71
commit 24641a7ab4
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)