summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Slice/PythonUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp
index 426ceff6949..9815b210aea 100644
--- a/cpp/src/Slice/PythonUtil.cpp
+++ b/cpp/src/Slice/PythonUtil.cpp
@@ -675,7 +675,7 @@ Slice::Python::CodeVisitor::visitClassDefStart(const ClassDefPtr& p)
_out.dec();
_out << nl << "checkedCast = staticmethod(checkedCast)";
- _out << sp << nl << "def uncheckedCast(proxy, facet=''):";
+ _out << sp << nl << "def uncheckedCast(proxy, facet=None):";
_out.inc();
_out << nl << "return _M_" << abs << "Prx.ice_uncheckedCast(proxy, facet)";
_out.dec();