Skip to content

Commit a5e564b

Browse files
author
Ralf W. Grosse-Kunstleve
committed
merging current boost/python and libs/python from trunk into release branch
[SVN r71226]
1 parent dcc3590 commit a5e564b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

example/README

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ http://www.boost.org/more/getting_started.html for details about the
1414
If you move this example from its place in the Boost development tree
1515
you'll need to edit the two lines indicated in Jamroot and
1616
boost-build.jam.
17-

src/converter/builtin_converters.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,10 @@ namespace
431431
if (!result.empty())
432432
{
433433
int err = PyUnicode_AsWideChar(
434-
(PyUnicodeObject *)intermediate
434+
#if PY_VERSION_HEX < 0x03020000
435+
(PyUnicodeObject *)
436+
#endif
437+
intermediate
435438
, &result[0]
436439
, result.size());
437440

0 commit comments

Comments
 (0)