Revision: 592
http://svn.sourceforge.net/pygccxml/?rev=592&view=rev
Author: roman_yakovenko
Date: 2006-09-26 11:40:19 -0700 (Tue, 26 Sep 2006)
Log Message:
-----------
fixing spelling error
Modified Paths:
--------------
pyplusplus_dev/pyplusplus/module_builder/builder.py
Modified: pyplusplus_dev/pyplusplus/module_builder/builder.py
===================================================================
--- pyplusplus_dev/pyplusplus/module_builder/builder.py 2006-09-26 10:51:08 UTC (rev 591)
+++ pyplusplus_dev/pyplusplus/module_builder/builder.py 2006-09-26 18:40:19 UTC (rev 592)
@@ -203,7 +203,7 @@
def build_code_creator( self
, module_name
, boost_python_ns_name='bp'
- , create_castinig_constructor=True
+ , create_casting_constructor=True
, call_policies_resolver_=None
, types_db=None
, target_configuration=None
@@ -227,13 +227,13 @@
@type doc_extractor: callable or None
"""
msg = os.linesep.join([
- "create_castinig_constructor argument is deprecated and should not be used."
+ "create_casting_constructor argument is deprecated and should not be used."
, "If you still want Py++ to generate implicitly_convertible code, consider to use allow_implicit_conversion constructor property"
, "mb = module_builder_t(...)"
, "mb.constructors().allow_implicit_conversion = True"])
warnings.warn(msg, DeprecationWarning, stacklevel=2)
- if create_castinig_constructor:
+ if create_casting_constructor:
self.global_ns.constructors(allow_empty=True).allow_implicit_conversion = True
creator = mcreator_package.creator_t( self.global_ns
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|