Skip to content

Commit e00a88f

Browse files
committed
Fix inspection issues
[SVN r35239]
1 parent e527bc8 commit e00a88f

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

include/boost/python/converter/implicit.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ struct implicit
2929
static void construct(PyObject* obj, rvalue_from_python_stage1_data* data)
3030
{
3131
void* storage = ((rvalue_from_python_storage<Target>*)data)->storage.bytes;
32+
33+
arg_from_python<Source> get_source(obj);
34+
bool convertible = get_source.convertible();
35+
BOOST_ASSERT(convertible);
3236

33-
new (storage) Target(extract<Source>(obj)());
37+
new (storage) Target(get_source());
3438

3539
// record successful construction
3640
data->convertible = storage;

pyste/doc/pyste.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
[doc Pyste Documentation]
22

3-
[/
4-
Distributed under
5-
the Boost Software License, Version 1.0. (See accompanying file
6-
LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7-
]
3+
[/ Copyright 2003 Bruno da Silva de Oliveira and Joel de Guzman.
4+
Distributed under the Boost Software License, Version 1.0. (See
5+
accompanying file LICENSE_1_0.txt or copy at
6+
http://www.boost.org/LICENSE_1_0.txt) ]
87

98
[def GCCXML [@http://www.gccxml.org GCCXML]]
109
[def Boost.Python [@../../index.html Boost.Python]]

pyste/doc/theme/style.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/*=============================================================================
22
Copyright (c) 2003 Bruno da Silva de Oliveira
3-
http://spirit.sourceforge.net/
43
54
Use, modification and distribution is subject to the Boost Software
65
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at

test/crossmod_exception.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Copyright (C) 2003 Rational Discovery LLC
2-
# Software License, Version 1.0. (See accompanying
3-
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
1+
# Copyright (C) 2003 Rational Discovery LLC. Distributed under the Boost
2+
# Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
3+
# at http://www.boost.org/LICENSE_1_0.txt)
44

55
print "running..."
66

0 commit comments

Comments
 (0)