Skip to content

Commit 5956d3e

Browse files
committed
fix tabs and line-endings
[SVN r13774]
1 parent 2d522de commit 5956d3e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/classes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ PyObject* instance::getattr(const char* name, bool use_special_function)
364364
if (PyEval_GetRestricted()) {
365365
PyErr_SetString(PyExc_RuntimeError,
366366
"instance.__dict__ not accessible in restricted mode");
367-
return 0;
367+
return 0;
368368
}
369369
Py_INCREF(m_name_space.get());
370370
return m_name_space.get();

src/errors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void BOOST_PYTHON_DECL throw_error_already_set()
4949
throw error_already_set();
5050
}
5151

52-
BOOST_PYTHON_DECL PyObject* expect_non_null(PyObject* x)
52+
BOOST_PYTHON_DECL PyObject* expect_non_null_impl(PyObject* x)
5353
{
5454
if (x == 0)
5555
throw_error_already_set();

src/module_builder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// (C) Copyright David Abrahams 2000. Permission to copy, use, modify, sell and
1+
// (C) Copyright David Abrahams 2000. Permission to copy, use, modify, sell and
22
// distribute this software is granted provided this copyright notice appears
33
// in all copies. This software is provided "as is" without express or implied
44
// warranty, and with no claim as to its suitability for any purpose.
@@ -50,7 +50,7 @@ module_builder_base::add(detail::function* x, const char* name)
5050

5151
void module_builder_base::add(ref x, const char* name)
5252
{
53-
PyObject* dictionary = PyModule_GetDict(m_module);
53+
PyObject* dictionary = PyModule_GetDict(m_module);
5454
PyDict_SetItemString(dictionary, const_cast<char*>(name), x.get());
5555
}
5656

0 commit comments

Comments
 (0)