diff options
Diffstat (limited to 'libs/python')
266 files changed, 4117 insertions, 839 deletions
diff --git a/libs/python/README.md b/libs/python/README.md new file mode 100644 index 0000000000..acad3817a5 --- /dev/null +++ b/libs/python/README.md @@ -0,0 +1,68 @@ +![logo](https://raw.githubusercontent.com/boostorg/python/develop/doc/images/bpl.png) + +# Synopsis + +Welcome to Boost.Python, a C++ library which enables seamless interoperability between C++ and the Python programming language. The library includes support for: + +* References and Pointers +* Globally Registered Type Coercions +* Automatic Cross-Module Type Conversions +* Efficient Function Overloading +* C++ to Python Exception Translation +* Default Arguments +* Keyword Arguments +* Manipulating Python objects in C++ +* Exporting C++ Iterators as Python Iterators +* Documentation Strings + +See the [Boost.Python](http://boostorg.github.io/python) documentation for details. + +# Building ![Build Status](https://travis-ci.org/boostorg/python.svg?branch=develop) + +While Boost.Python is part of the Boost C++ Libraries super-project, and thus can be compiled as part of Boost, it can also be compiled and installed stand-alone, i.e. against a pre-installed Boost package. + +## Prerequisites + +* [Python](http://www.python.org) +* [Boost](http://www.boost.org) +* [SCons](http://www.scons.org) + +## Configure + +Simply run + +``` +scons config [options] +``` +to prepare a build. See `scons -h` for a description of the available options. For example +``` +scons config --boost=/path/to/boost --python=/path/to/python +``` +will configure Boost.Python to be built against the two specific versions of Boost and Python. + +## Build + +Run + +``` +scons +``` +to build the library. + +## Test + +Run + +``` +scons test +``` +to run the tests. + +## Build docs + +Run + +``` +scons doc +``` +to build the documentation.
\ No newline at end of file diff --git a/libs/python/SConscript b/libs/python/SConscript new file mode 100644 index 0000000000..a773cde3ac --- /dev/null +++ b/libs/python/SConscript @@ -0,0 +1,34 @@ +# -*- python -*- + +Import("env") + +env.Append(CPPPATH = "#/include",CPPDEFINES = ["BOOST_ALL_NO_LIB=1"]) + +env.AppendUnique(CPPDEFINES = ["${LINK_DYNAMIC and 'BOOST_PYTHON_DYN_LINK=1' or []}"]) +for variant in env["variant"]: + env["current_variant"] = variant + env.SetProperty(profile = False) + if variant == "release": + env.SetProperty(optimize = "speed", debug = False) + elif variant == "debug": + env.SetProperty(optimize = "no", debug = True) + elif variant == "profile": + env.SetProperty(optimize = "speed", profile = True, debug = True) + for linking in env["link"]: + env["linking"] = linking + if linking == "dynamic": + env["LINK_DYNAMIC"] = True + else: + env["LINK_DYNAMIC"] = False + for threading in env["threading"]: + env["current_threading"] = threading + env.SetProperty(threading = threading) + variant_dir=env.subst("$BOOST_CURRENT_VARIANT_DIR") + + env.SConscript("src/SConscript", variant_dir=variant_dir + '/src', + exports = { "env" : env.Clone(BOOST_LIB = 'python') }) + if GetOption("test"): + test_env = env.Clone(BOOST_LIB = 'python', BOOST_TEST = True) + test_env.BoostUseLib('python') + env.SConscript("test/SConscript", variant_dir=variant_dir + '/test', + exports = { "env" : test_env }) diff --git a/libs/python/SConstruct b/libs/python/SConstruct new file mode 100644 index 0000000000..24de13dd5d --- /dev/null +++ b/libs/python/SConstruct @@ -0,0 +1,100 @@ +# -*- python -*- +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +import SCons.Script.Main +import config +import config.ui +import platform +import os +import subprocess +import re + +# +# We try to mimic the typical autotools-workflow. +# +# * In a 'configure' step all the essential build parameters are established +# (either by explicit command-line arguments or from configure checks) +# * A subsequent build step can then simply read the cached variables, so +# users don't have to memorize and re-issue the arguments on each subsequent +# invocation, and neither do the config checks need to be re-run. +# +# The essential part here is to define a 'config' target, which removes any +# caches that may still be lingering around, then runs the checks. + +if 'config' in COMMAND_LINE_TARGETS: + # Clear the cache + try: os.remove('bin.SCons/config.py') + except: pass +if not os.path.exists('bin.SCons/'): + os.mkdir('bin.SCons/') +vars = Variables('bin.SCons/config.py', ARGUMENTS) +config.add_options(vars) +arch = ARGUMENTS.get('arch', platform.machine()) +env_vars = {} +if 'CXX' in os.environ: env_vars['CXX'] = os.environ['CXX'] +if 'CXXFLAGS' in os.environ: env_vars['CXXFLAGS'] = os.environ['CXXFLAGS'].split() +env = Environment(toolpath=['config/tools'], + tools=['default', 'libs', 'tests', 'doc'], + variables=vars, + TARGET_ARCH=arch, + **env_vars) +if 'gcc' in env['TOOLS']: + # Earlier SCons versions (~ 2.3.0) can't handle CXX=clang++. + version = subprocess.check_output([env['CXX'], '--version']) + match = re.search(r'[0-9]+(\.[0-9]+)+', version) + if match: + version = match.group(0) + else: + version = 'unknown' + env['CXXVERSION'] = version + +Help(config.ui.help(vars, env) + """ +Variables are saved in bin.SCons/config.py and persist between scons invocations. +""") + +if GetOption('help'): + Return() + +build_dir = config.prepare_build_dir(env) +config_log = '{}/config.log'.format(build_dir) + +# configure +SConsignFile('{}/.sconsign'.format(build_dir)) +#env.Decider('MD5-timestamp') +env.Decider('timestamp-newer') +checks = config.get_checks() +if 'config' in COMMAND_LINE_TARGETS: + conf=env.Configure(custom_tests=checks, log_file=config_log, conf_dir=build_dir) + if False in (getattr(conf, c)() for c in checks): + Exit(1) + env = conf.Finish() + vars.Save('bin.SCons/config.py', env) + +if not os.path.exists(config_log): + print('Please run `scons config` first. (See `scons -h` for available options.)') + Exit(1) + +if not GetOption('verbose'): + config.ui.pretty_output(env) + +# build +env['BPL_VERSION'] = '1.62' +for e in config.variants(env): + variant_dir=e.subst("$BOOST_CURRENT_VARIANT_DIR") + e.SConscript('src/SConscript', variant_dir=variant_dir + '/src', + exports = { 'env' : e.Clone(BOOST_LIB = 'python') }) + if 'test' in COMMAND_LINE_TARGETS: + test_env = e.Clone(BOOST_LIB = 'python', BOOST_TEST = True) + test_env.BoostUseLib('python') + e.SConscript('test/SConscript', variant_dir=variant_dir + '/test', + exports = { 'env' : test_env }) + +if 'doc' in COMMAND_LINE_TARGETS: + env.SConscript('doc/SConscript', variant_dir='bin.SCons/doc', + exports = { 'env' : e.Clone(BOOST_LIB = 'python') }) diff --git a/libs/python/config/__init__.py b/libs/python/config/__init__.py new file mode 100644 index 0000000000..b08eb04b02 --- /dev/null +++ b/libs/python/config/__init__.py @@ -0,0 +1,131 @@ +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +from SCons.Variables import * +from SCons.Script import AddOption +from collections import OrderedDict +import platform +from . import ui +from . import cxx +from . import python +from . import boost + +def add_options(vars): + ui.add_option('-V', '--verbose', dest='verbose', action='store_true', help='verbose mode: print full commands.') + python.add_options(vars) + boost.add_options(vars) + + vars.Add('CXX') + vars.Add('CPPPATH', converter=lambda v:v.split()) + vars.Add('CCFLAGS', converter=lambda v:v.split()) + vars.Add('CXXFLAGS', converter=lambda v:v.split()) + vars.Add('LIBPATH', converter=lambda v:v.split()) + vars.Add('LIBS', converter=lambda v:v.split()) + vars.Add('PYTHON') + vars.Add('PYTHONLIBS') + vars.Add('prefix') + vars.Add('boostbook_prefix', + vars.Add('CXX11')) + + ui.add_variable(vars, ("arch", "target architeture", platform.machine())) + ui.add_variable(vars, ("toolchain", "toolchain to use", 'gcc')) + ui.add_variable(vars, ListVariable("variant", "Build configuration", "release", ["release", "debug", "profile"])) + ui.add_variable(vars, ListVariable("link", "Library linking", "dynamic", ["static", "dynamic"])) + ui.add_variable(vars, ListVariable("threading", "Multi-threading support", "multi", ["single", "multi"])) + ui.add_variable(vars, EnumVariable("layout", "Layout of library names and header locations", "versioned", ["versioned", "system"])) + ui.add_variable(vars, PathVariable("stagedir", "If --stage is passed install only compiled library files in this location", "stage", PathVariable.PathAccept)) + ui.add_variable(vars, PathVariable("prefix", "Install prefix", "/usr/local", PathVariable.PathAccept)) + + +def get_checks(): + checks = OrderedDict() + checks['cxx'] = cxx.check + checks['python'] = python.check + checks['boost'] = boost.check + return checks + + +def set_property(env, **kw): + + from toolchains.gcc import features as gcc_features + from toolchains.msvc import features as msvc_features + + if 'gcc' in env['TOOLS']: features = gcc_features + elif 'msvc' in env['TOOLS']: features = msvc_features + else: raise Error('unknown toolchain') + features.init_once(env) + for (prop,value) in kw.items(): + getattr(features, prop, lambda x, y : None)(env, value) + env[prop.upper()] = value + + +def boost_suffix(env): + suffix = str() + + if env["layout"] == "versioned": + if "gcc" in env["TOOLS"]: + if env['CXX'] in ('clang', 'clang++'): + suffix += "-clang" + "".join(env["CXXVERSION"].split(".")[0:2]) + else: # assume g++ + suffix += "-gcc" + "".join(env["CXXVERSION"].split(".")[0:2]) + if env["THREADING"] == "multi": + suffix += "-mt" + if env["DEBUG"]: + suffix += "-d" + if env["layout"] == "versioned": + suffix += "-" + "_".join(env["BPL_VERSION"].split(".")) + + return suffix + + +def prepare_build_dir(env): + + vars = {} + env["boost_suffix"] = boost_suffix + build_dir="bin.SCons" + # FIXME: Support 'toolchain' variable properly. + # For now, we simply check whether $CXX refers to clang or gcc. + if "gcc" in env["TOOLS"]: + if env['CXX'] in ('clang', 'clang++'): + build_dir+="/clang-%s"%env["CXXVERSION"] + else: # assume g++ + build_dir+="/gcc-%s"%env["CXXVERSION"] + default_cxxflags = ['-ftemplate-depth-128', '-Wall', '-g', '-O2'] + vars['CXXFLAGS'] = env.get('CXXFLAGS', default_cxxflags) + elif "msvc" in env["TOOLS"]: + build_dir+="/msvc-%s"%env["MSVS_VERSION"] + vars['BOOST_BUILD_DIR'] = build_dir + vars['BOOST_SUFFIX'] = "${boost_suffix(__env__)}" + env.Replace(**vars) + return build_dir + + +def variants(env): + + env.Prepend(CPPPATH = "#/include", CPPDEFINES = ["BOOST_ALL_NO_LIB=1"]) + set_property(env, architecture = env['TARGET_ARCH']) + for variant in env["variant"]: + e = env.Clone() + e["current_variant"] = variant + set_property(env, profile = False) + if variant == "release": + set_property(e, optimize = "speed", debug = False) + elif variant == "debug": + set_property(e, optimize = "no", debug = True) + elif variant == "profile": + set_property(e, optimize = "speed", profile = True, debug = True) + for linking in env["link"]: + e["linking"] = linking + if linking == "dynamic": + e["LINK_DYNAMIC"] = True + else: + e["LINK_DYNAMIC"] = False + for threading in e["threading"]: + e["current_threading"] = threading + set_property(e, threading = threading) + yield e diff --git a/libs/python/config/boost.py b/libs/python/config/boost.py new file mode 100644 index 0000000000..a7cde93e66 --- /dev/null +++ b/libs/python/config/boost.py @@ -0,0 +1,45 @@ +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +from . import ui +import os + +def add_options(vars): + + ui.add_option("--boost-prefix", dest="boost_prefix", type="string", nargs=1, action="store", + metavar="DIR", default=os.environ.get("BOOST_DIR"), + help="prefix for Boost libraries; should have 'include' and 'lib' subdirectories, 'boost' and 'stage\\lib' subdirectories on Windows") + ui.add_option("--boost-include", dest="boost_include", type="string", nargs=1, action="store", + metavar="DIR", help="location of Boost header files") + ui.add_option("--boostbook-prefix", dest="boostbook_prefix", type="string", + nargs=1, action="store", + metavar="DIR", default="/usr/share/boostbook", + help="prefix for BoostBook stylesheets") + +def check(context): + + boost_source_file = r"#include <boost/config.hpp>" + + context.Message('Checking for Boost...') + + boost_prefix = context.env.GetOption('boost_prefix') + boost_include = context.env.GetOption('boost_include') + boostbook_prefix = context.env.GetOption('boostbook_prefix') + incpath=None + if boost_include: + incpath=boost_include + elif boost_prefix: + incpath=boost_prefix + if incpath: + context.env.AppendUnique(CPPPATH=[incpath]) + if not context.TryCompile(boost_source_file, '.cpp'): + context.Result(0) + return False + context.env.AppendUnique(boostbook_prefix=boostbook_prefix) + context.Result(1) + return True diff --git a/libs/python/config/cxx.py b/libs/python/config/cxx.py new file mode 100644 index 0000000000..ae34beb09c --- /dev/null +++ b/libs/python/config/cxx.py @@ -0,0 +1,30 @@ +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +from . import ui +import os + +def add_options(vars): + + pass + +def check(context): + + source = r"""#if __cplusplus < 201103L +#error no C++11 +#endif""" + + context.Message('Checking for C++11 support...') + + if not context.TryCompile(source, '.cpp'): + context.env['CXX11'] = False + context.Result(0) + else: + context.env['CXX11'] = True + context.Result(1) + return True diff --git a/libs/python/config/python.py b/libs/python/config/python.py new file mode 100644 index 0000000000..0aff24ee6d --- /dev/null +++ b/libs/python/config/python.py @@ -0,0 +1,98 @@ +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +from . import ui + +def add_options(vars): + + ui.add_option('--python', help='the python executable') + + +def check(context): + + python_source_file = r""" +// If defined, enforces linking againg PythonXXd.lib, which +// is usually not included in Python environments. +#undef _DEBUG +#include "Python.h" +int main() +{ + Py_Initialize(); + Py_Finalize(); + return 0; +} +""" + + import platform + import subprocess + import re, os + + def check_python(cmd): + return subprocess.check_output([python, '-c', cmd]).strip() + + def check_sysconfig(cmd): + r = check_python('import distutils.sysconfig as c; print(c.%s)'%cmd) + return r if r != 'None' else '' + + context.Message('Checking for Python...') + python = context.env.GetOption('python') or 'python' + context.env['PYTHON'] = python + incpath = check_sysconfig('get_python_inc()') + context.env.AppendUnique(CPPPATH=[incpath]) + if platform.system() == 'Windows': + version = check_python('import sys; print("%d%d"%sys.version_info[0:2])') + prefix = check_python('import sys; print(sys.prefix)') + libfile = os.path.join(prefix, 'libs', 'python%s.lib'%version) + libpath = os.path.join(prefix, 'libs') + lib = 'python%s'%version + context.env.AppendUnique(LIBS=[lib]) + else: + libpath = check_sysconfig('get_config_var("LIBDIR")') + libfile = check_sysconfig('get_config_var("LIBRARY")') + match = re.search('(python.*)\.(a|so|dylib)', libfile) + lib = None + if match: + lib = match.group(1) + context.env.AppendUnique(PYTHONLIBS=[lib]) + if match.group(2) == 'a': + flags = check_sysconfig('get_config_var("LINKFORSHARED")') + if flags is not None: + context.env.AppendUnique(LINKFLAGS=flags.split()) + context.env.AppendUnique(LIBPATH=[libpath]) + oldlibs = context.AppendLIBS([lib]) + flags = check_sysconfig('get_config_var("MODLIBS")') + flags += ' ' + check_sysconfig('get_config_var("SHLIBS")') + flags = [f[2:] for f in flags.strip().split() if f.startswith('-l')] + if flags: + context.AppendLIBS([flags]) + result = context.TryLink(python_source_file,'.cpp') + if not result and context.env['PLATFORM'] == 'darwin': + # Sometimes we need some extra stuff on Mac OS + frameworkDir = libpath # search up the libDir tree for the proper home for frameworks + while frameworkDir and frameworkDir != "/": + frameworkDir, d2 = os.path.split(frameworkDir) + if d2 == "Python.framework": + if not "Python" in os.listdir(os.path.join(frameworkDir, d2)): + context.Result(0) + print(( + "Expected to find Python in framework directory %s, but it isn't there" + % frameworkDir)) + return False + break + context.env.AppendUnique(LINKFLAGS="-F%s" % frameworkDir) + result = context.TryLink(python_source_file,'.cpp') + if not result: + context.Result(0) + print("Cannot link program with Python.") + return False + if context.env['PLATFORM'] == 'darwin': + context.env['LDMODULESUFFIX'] = '.so' + context.Result(1) + context.SetLIBS(oldlibs) + context.env.AppendUnique(PYTHONLIBS=[lib] + flags) + return True diff --git a/libs/python/config/toolchains/__init__.py b/libs/python/config/toolchains/__init__.py new file mode 100644 index 0000000000..af38285a65 --- /dev/null +++ b/libs/python/config/toolchains/__init__.py @@ -0,0 +1,18 @@ +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +import traceback + +def append_feature_flag(env, **kw): + stack = traceback.extract_stack(limit = 3) + feature = stack[0][2].upper() + for (key, val) in kw.items(): + feature_var = feature + "_" + key + env.AppendUnique(**{ key : "$" + feature_var }) + env[feature_var] = val + diff --git a/libs/python/config/toolchains/gcc.py b/libs/python/config/toolchains/gcc.py new file mode 100644 index 0000000000..200ecb6a7e --- /dev/null +++ b/libs/python/config/toolchains/gcc.py @@ -0,0 +1,55 @@ +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +from . import append_feature_flag + +class features: + + @classmethod + def init_once(cls, env): + pass + + @staticmethod + def architecture(env, arch): + if arch: + flag = {'x86' : '-m32', + 'x86_64' : '-m64',}.get(arch) + if flag: + append_feature_flag(env, CCFLAGS = flag) + + @staticmethod + def optimize(env, optimize): + if not optimize or optimize == "no": + append_feature_flag(env, CCFLAGS = "-O0 -fno-inline") + elif optimize == "speed": + append_feature_flag(env, CCFLAGS = "-O3 -finline-functions -Wno-inline") + elif optimize == "space": + append_feature_flag(env, CCFLAGS = "-Os") + else: + append_feature_flag(env, CCFLAGS = "") + + @staticmethod + def profile(env, profile): + if profile: + append_feature_flag(env, CCFLAGS = "-pg", LINKFLAGS = "-pg") + else: + append_feature_flag(env, CCFLAGS = "", LINKFLAGS = "") + + @staticmethod + def threading(env, threading): + if threading == "multi": + append_feature_flag(env, CCFLAGS = "-pthread", LINKFLAGS = "-pthread") + else: + append_feature_flag(env, CCFLAGS = "", LINKFLAGS = "") + + @staticmethod + def debug(env, debug): + if debug: + append_feature_flag(env, CCFLAGS = "-g", CPPDEFINES = []) + else: + append_feature_flag(env, CCFLAGS = "", CPPDEFINES = "NDEBUG") diff --git a/libs/python/config/toolchains/msvc.py b/libs/python/config/toolchains/msvc.py new file mode 100644 index 0000000000..576ff819c6 --- /dev/null +++ b/libs/python/config/toolchains/msvc.py @@ -0,0 +1,57 @@ +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +from . import append_feature_flag + +class features: + + @classmethod + def init_once(cls, env): + env.AppendUnique(CCFLAGS = ['-TP', '/Z7', '/W3' ,'/GR', '/MDd', '/Zc:forScope', '/Zc:wchar_t', '/wd4675', '/EHs']) + env.AppendUnique(LINKFLAGS = ['/subsystem:console']) + + @staticmethod + def architecture(env, arch): + if arch: + flag = {'x86' : '/MACHINE:X86', + 'x86_64' : '/MACHINE:X64',}.get(arch) + if flag: + append_feature_flag(env, LINKFLAGS = flag) + + @staticmethod + def optimize(env, optimize): + #if not optimize or optimize == "no": + # append_feature_flag(env, CCFLAGS = "-O0 -fno-inline") + #elif optimize == "speed": + # append_feature_flag(env, CCFLAGS = "-O3 -finline-functions -Wno-inline") + #elif optimize == "space": + # append_feature_flag(env, CCFLAGS = "-Os") + #else: + append_feature_flag(env, CCFLAGS = "") + + @staticmethod + def profile(env, profile): + #if profile: + # append_feature_flag(env, CCFLAGS = "-pg", LINKFLAGS = "-pg") + #else: + append_feature_flag(env, CCFLAGS = "", LINKFLAGS = "") + + @staticmethod + def threading(env, threading): + #if threading == "multi": + # append_feature_flag(env, CCFLAGS = "/MT") + #else: + # append_feature_flag(env, CCFLAGS = "", LINKFLAGS = "") + pass + + @staticmethod + def debug(env, debug): + #if debug: + # append_feature_flag(env, CCFLAGS = "-g", CPPDEFINES = []) + #else: + append_feature_flag(env, CCFLAGS = "", CPPDEFINES = "NDEBUG") diff --git a/libs/python/config/tools/clang.py b/libs/python/config/tools/clang.py new file mode 100644 index 0000000000..9af06708e6 --- /dev/null +++ b/libs/python/config/tools/clang.py @@ -0,0 +1,44 @@ +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +# Based on SCons/Tool/gcc.py + +import os +import re +import subprocess + +import SCons.Util +import SCons.Tool.cc + +compilers = ['clang'] + +def generate(env): + """Add Builders and construction variables for clang to an Environment.""" + SCons.Tool.cc.generate(env) + + env['CC'] = env.Detect(compilers) or 'clang' + if env['PLATFORM'] in ['cygwin', 'win32']: + env['SHCCFLAGS'] = SCons.Util.CLVar('$CCFLAGS') + else: + env['SHCCFLAGS'] = SCons.Util.CLVar('$CCFLAGS -fPIC') + # determine compiler version + if env['CC']: + #pipe = SCons.Action._subproc(env, [env['CC'], '-dumpversion'], + pipe = SCons.Action._subproc(env, [env['CC'], '--version'], + stdin = 'devnull', + stderr = 'devnull', + stdout = subprocess.PIPE) + if pipe.wait() != 0: return + # clang -dumpversion is of no use + line = pipe.stdout.readline() + match = re.search(r'clang +version +([0-9]+(?:\.[0-9]+)+)', line) + if match: + env['CCVERSION'] = match.group(1) + +def exists(env): + return env.Detect(compilers) diff --git a/libs/python/config/tools/doc.py b/libs/python/config/tools/doc.py new file mode 100644 index 0000000000..e96f089a6d --- /dev/null +++ b/libs/python/config/tools/doc.py @@ -0,0 +1,70 @@ +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +from SCons.Script import AddOption, Flatten +from SCons.Script import Builder +from SCons.Action import Action +from SCons.Defaults import Copy +from SCons.Script import * +from subprocess import check_output, STDOUT, CalledProcessError +import sys +import os + +def QuickBook(env, target, source, dependencies=[]): + """Compile a QuickBook document to BoostBook.""" + + for d in dependencies: + env.Depends(target, d) + env.Command(target, source, 'quickbook --input-file=$SOURCE --output-file=$TARGET') + + +def BoostBook(env, target, source, resources=[], args=[]): + """Compile a BoostBook document to DocBook.""" + + bb_prefix = env.GetOption('boostbook_prefix') + stylesheet = bb_prefix + '/xsl/docbook.xsl' + env.Command(target, source, + 'xsltproc {} -o $TARGET {} $SOURCE'.format(' '.join(args), stylesheet)) + + +def BoostHTML(env, target, source, resources=[], args=[]): + """Compile a DocBook document to HTML.""" + + bb_prefix = env.GetOption('boostbook_prefix') + stylesheet = bb_prefix + '/xsl/html.xsl' + env.Command(target, source, + 'xsltproc {} -o $TARGET/ {} $SOURCE'.format(' '.join(args), stylesheet)) + prefix=Dir('.').path + for r in resources: + r = File(r).path[len(prefix)+1:] + env.Depends(target, target + r) + env.Command(target + r, r, Copy('$TARGET', '$SOURCE')) + + +def BoostRST(env, target, source, resources=[]): + """Compile an RST document to HTML.""" + + prefix=Dir('.').path + for r in resources: + r = File(r).path[len(prefix)+1:] + env.Depends('html/' + r, r) + env.Command('html/' + r, r, Copy('$TARGET', '$SOURCE')) + env.Command(target, source, + 'rst2html --link-stylesheet --traceback --trim-footnote-reference-space --footnote-references=superscript --stylesheet=rst.css $SOURCE $TARGET') + + +def exists(env): + return True + + +def generate(env): + + env.AddMethod(QuickBook) + env.AddMethod(BoostBook) + env.AddMethod(BoostHTML) + env.AddMethod(BoostRST) diff --git a/libs/python/config/tools/libs.py b/libs/python/config/tools/libs.py new file mode 100644 index 0000000000..da8119d042 --- /dev/null +++ b/libs/python/config/tools/libs.py @@ -0,0 +1,85 @@ +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +from SCons.Script import AddOption, COMMAND_LINE_TARGETS, BUILD_TARGETS +import distutils.sysconfig +import platform + + +def BoostLibrary(env, lib, sources, make_aliases = True, **kw): + if env["LINK_DYNAMIC"]: + lib_node = env.SharedLibrary("boost_" + lib + env["BOOST_SUFFIX"], sources, **kw) + else: + lib_node = env.StaticLibrary("boost_" + lib + env["BOOST_SUFFIX"], sources, **kw) + + if make_aliases: + if env.GetOption("stage"): + env.Alias(lib, env.Install(env.Dir("$stagedir", "#"), lib_node)) + env.Default(env.Alias(lib, lib_node)) + + if env.GetOption("install"): + env.Alias(lib, env.Install("$prefix/lib", lib_node)) + env.Alias(lib, env.Install('$prefix/include/boost', '#/include/boost/python')) + env.Alias(lib, env.Install('$prefix/include/boost', '#/include/boost/python.hpp')) + return lib_node + + +def BoostUseLib(env, lib): + build_dir = env.Dir('$BOOST_CURRENT_VARIANT_DIR/src') + env.AppendUnique(LIBPATH = [build_dir], + LIBS = ["boost_" + lib + env["BOOST_SUFFIX"]]) + if env.get("BOOST_TEST"): + env.AppendUnique(RPATH = [build_dir]) + if platform.system() == 'Windows': + env.PrependENVPath('PATH', build_dir.abspath) + else: + env.PrependENVPath('LD_LIBRARY_PATH', build_dir.abspath) + + +def PythonExtension(env, lib, sources, **kw): + if env["LINK_DYNAMIC"]: + ext = env.SharedLibrary(lib, sources, SHLIBPREFIX='', SHLIBSUFFIX=distutils.sysconfig.get_config_var("SO"), **kw) + return ext + + +def boost_copy_func(dest, source, env): + import os, stat, shutil + + if os.path.isdir(source): + if os.path.exists(dest): + if not os.path.isdir(dest): + raise SCons.Errors.UserError, "cannot overwrite non-directory `%s' with a directory `%s'" % (str(dest), str(source)) + else: + os.makedirs(dest) + for file in os.listdir(source): + if file == ".svn": continue + boost_copy_func(os.path.join(dest, file), os.path.join(source, file), env) + else: + shutil.copy2(source, dest) + st = os.stat(source) + os.chmod(dest, stat.S_IMODE(st[stat.ST_MODE]) | stat.S_IWRITE) + + return 0 + + +def exists(env): + return True + + +def generate(env): + env.AddMethod(BoostLibrary) + env.AddMethod(BoostUseLib) + env.AddMethod(PythonExtension) + + env.Replace( + INSTALL = boost_copy_func, + BOOST_CURRENT_VARIANT_DIR = "#/$BOOST_BUILD_DIR/$current_variant/$linking/threading-$current_threading" + ) + + AddOption('--stage', dest='stage', action="store_true") + AddOption('--install', dest='install', action="store_true") diff --git a/libs/python/config/tools/tests.py b/libs/python/config/tools/tests.py new file mode 100644 index 0000000000..a2e8e08465 --- /dev/null +++ b/libs/python/config/tools/tests.py @@ -0,0 +1,123 @@ +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +from SCons.Script import AddOption, Flatten +from SCons.Script import Builder +from SCons.Action import Action +from subprocess import check_output, STDOUT, CalledProcessError +import sys +import os + + +def BoostCompileTest(env, test, source = None, **kw): + + def gen_result(target, source, env=env): + target_file = target[0].abspath + result_file = os.path.splitext(target_file)[0] + '.result' + if sys.stdout.isatty(): + env['RESULT']='\033[92mPASS\033[0m' + else: + env['RESULT']='PASS' + + with open(result_file, 'w+') as result: + result.write('Result: {}\n'.format('pass')) + + obj = env.Object(test, source if source is not None else test + '.cpp') + env.AddPostAction(obj, Action(gen_result, cmdstr=None)) + env.AddPostAction(obj, Action('@echo $RESULT')) + return obj + +def BoostRun(env, prog, target, command = '$SOURCE'): + + def call(target, source, env=env): + cmd = env.subst(command, target=target, source=source) + result_file = env.subst('$TARGET', target=target) + output='' + try: + output=check_output(cmd, stderr=STDOUT, shell=True, env=env['ENV']) + success=True + except CalledProcessError as e: + output=e.output + success=False + with open(result_file, 'w+') as result: + result.write('Result: {}\n'.format(success and 'pass' or 'fail')) + result.write('Output: {}\n'.format(output)) + if sys.stdout.isatty(): + env['RESULT']=success and '\033[92mPASS\033[0m' or '\033[91mFAIL\033[0m' + else: + env['RESULT']=success and 'PASS' or 'FAIL' + + testcomstr = env.get('TESTCOMSTR') + if testcomstr: + run = env.Command(target, prog, Action(call, cmdstr=testcomstr)) + else: + run = env.Command(target, prog, Action(call, cmdstr=command)) + env.AddPostAction(target, Action('@echo $RESULT')) + return run + + +def BoostRunPythonScript(env, script): + return env.BoostRun(env.File(script), script.replace('.py', '.result'), '"${PYTHON}" $SOURCE') + + +def BoostRunTest(env, test, source = None, command = '$SOURCE', command_sources = [], **kw): + test_prog = env.Program(test, (source is None) and (test + ".cpp") or source, **kw) + command += '> $TARGET' + run = env.BoostRun([test_prog, command_sources], test + '.result', command) + return run + + +def BoostRunTests(env, tests, **kw): + run = [] + for test in Flatten(tests): + run += env.BoostRunTest(test, **kw) + return run + +def BoostCompileTests(env, tests, **kw): + comp = [] + for test in Flatten(tests): + comp += env.BoostCompileTest(test, **kw) + return comp + + +def BoostTestSummary(env, tests, **kw): + + def print_summary(target, source, **kw): + results = tests + failures = [r for r in results + if r.get_path().endswith('.result') and not 'Result: pass' in r.get_contents()] + print('%s tests; %s pass; %s fails'%(len(results), len(results)-len(failures), len(failures))) + if failures: + print('For detailed failure reports, see:') + for f in failures: + print(f.get_path()) + + testsumcomstr = env.get('TESTSUMCOMSTR') + if testsumcomstr: + run = env.Command('summary', tests, Action(print_summary, cmdstr=testsumcomstr)) + else: + run = env.Command('summary', tests, print_summary, cmdstr='') + + + + + +def exists(env): + return True + + +def generate(env): + AddOption('--test', dest='test', action="store_true") + + env.AddMethod(BoostCompileTest) + env.AddMethod(BoostRun) + env.AddMethod(BoostRunPythonScript) + env.AddMethod(BoostRunTest) + env.AddMethod(BoostRunTests) + env.AddMethod(BoostCompileTests) + env.AddMethod(BoostTestSummary) diff --git a/libs/python/config/ui.py b/libs/python/config/ui.py new file mode 100644 index 0000000000..e6e4f24f72 --- /dev/null +++ b/libs/python/config/ui.py @@ -0,0 +1,96 @@ +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +from SCons.Script import AddOption +import sys + +variables=[] # remember 'public' variables +options=[] + +def add_option(*args, **kwds): + """Capture the help messages so we can produce a helpful usage text.""" + options.append('{:25} {}'.format(', '.join(args), kwds.get('help', ''))) + AddOption(*args, **kwds) + +def add_variable(vars, var): + variables.append(var[0]) + vars.Add(var) + + +def options_help(env): + + return '\n '.join(options) + + +def variables_help(vars, env): + """This is cloned from SCons' Variables.GenerateHelpText, to only report 'public' variables.""" + + opts = [o for o in vars.options if o.key in variables] + + def format(opt): + if opt.key in env: + actual = env.subst('${%s}' % opt.key) + else: + actual = None + return vars.FormatVariableHelpText(env, opt.key, opt.help, opt.default, actual, opt.aliases) + text = ''.join([f for f in map(format, opts) if f]) + lines = [' %s'%l for l in text.split('\n')] # Add some indentation + return '\n'.join(lines) + + + +def help(vars, env): + + return """Usage: scons [--option...] [variable=value...] [target...] + +available options: + + {} + +available variables: + {} +""".format(options_help(env), variables_help(vars, env)) + +def pretty_output(env): + + colors = {} + colors['red'] = '\033[31m' + colors['green'] = '\033[32m' + colors['blue'] = '\033[34m' + colors['yellow'] = '\033[93m' + colors['Red'] = '\033[91m' + colors['Green'] = '\033[92m' + colors['Blue'] = '\033[94m' + colors['Purple'] = '\033[95m' + colors['Cyan'] = '\033[96m' + colors['end'] = '\033[0m' + + #If the output is not a terminal, remove the colors + if not sys.stdout.isatty(): + for key, value in colors.iteritems(): + colors[key] = '' + + compile_source_message = '{green}Compiling $TARGET{end}'.format(**colors) + compile_shared_source_message = '{green}Compiling $TARGET{end}'.format(**colors) + link_program_message = '{blue}Linking $TARGET{end}'.format(**colors) + link_library_message = '{blue}Linking $TARGET{end}'.format(**colors) + ranlib_library_message = '{blue}Ranlib $TARGET{end}'.format(**colors) + link_shared_library_message = '{blue}Linking $TARGET{end}'.format(**colors) + test_message = '{blue}Testing $SOURCE{end}'.format(**colors) + testsum_message = '{Blue}Test Summary{end}'.format(**colors) + + env.Replace(CXXCOMSTR = compile_source_message, + CCCOMSTR = compile_source_message, + SHCCCOMSTR = compile_shared_source_message, + SHCXXCOMSTR = compile_shared_source_message, + ARCOMSTR = link_library_message, + RANLIBCOMSTR = ranlib_library_message, + SHLINKCOMSTR = link_shared_library_message, + LINKCOMSTR = link_program_message, + TESTCOMSTR = test_message, + TESTSUMCOMSTR = testsum_message) diff --git a/libs/python/doc/SConscript b/libs/python/doc/SConscript new file mode 100644 index 0000000000..e22b3fc28b --- /dev/null +++ b/libs/python/doc/SConscript @@ -0,0 +1,49 @@ +# -*- python -*- +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +Import('env') + +env.QuickBook('python.bbk', 'python.qbk', + ['building.qbk', + 'configuration.qbk', + 'support.qbk', + 'faq.qbk', + 'glossary.qbk']) + +env.QuickBook('tutorial.bbk', 'tutorial.qbk') +env.QuickBook('reference.bbk', 'reference.qbk', + Glob('reference/*.qbk')) + + +env.BoostBook('python.dbk', 'python.bbk') +env.BoostBook('tutorial.dbk', 'tutorial.bbk') +env.BoostBook('reference.dbk', 'reference.bbk') + +images = Glob('images/*.*') + Glob('images/callouts/*.*') + +env.BoostHTML('html/', 'python.dbk', + resources=['boostbook.css'] + images, + args=['--stringparam', 'generate.toc', '"library nop; chapter toc; section toc;"', + '--stringparam', 'html.stylesheet', 'boostbook.css', + '--stringparam', 'boost.image.src', 'images/bpl.png', + '--stringparam', 'boost.graphics.root', 'images/', + '--stringparam', 'boost.defaults', 'none', + '--param', 'toc.max.depth', '3', + '--param', 'toc.section.depth' ,'2', + '--param', 'chunk.section.depth', '1']) +env.BoostHTML('html/tutorial/', 'tutorial.dbk', + args=['--stringparam', 'html.stylesheet', '../boostbook.css', + '--stringparam', 'boost.image.src', '../images/bpl.png', + '--stringparam', 'boost.graphics.root', '../images/']) +env.BoostHTML('html/reference/', 'reference.dbk', + args=['--stringparam', 'html.stylesheet', '../boostbook.css', + '--stringparam', 'boost.image.src', '../images/bpl.png', + '--stringparam', 'boost.graphics.root', '../images/']) + +env.BoostRST('html/article.html', 'article.rst', resources=['rst.css']) diff --git a/libs/python/doc/boostbook.css b/libs/python/doc/boostbook.css new file mode 100644 index 0000000000..28f8935991 --- /dev/null +++ b/libs/python/doc/boostbook.css @@ -0,0 +1,716 @@ + +/*============================================================================= +Copyright (c) 2004 Joel de Guzman +http://spirit.sourceforge.net/ + +Copyright 2013 Niall Douglas additions for colors and alignment. +Copyright 2013 Paul A. Bristow additions for more colors and alignments. + +Distributed under the Boost Software License, Version 1.0. (See accompany- +ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +=============================================================================*/ + +/*============================================================================= +Body defaults +=============================================================================*/ + + body + { + margin: 1em; + font-family: sans-serif; + } + +/*============================================================================= +Paragraphs +=============================================================================*/ + + p + { + text-align: left; + font-size: 10pt; + line-height: 1.15; + } + +/*============================================================================= +Program listings +=============================================================================*/ + + /* Code on paragraphs */ + p tt.computeroutput + { + font-size: 9pt; + } + + pre.synopsis + { + font-size: 9pt; + margin: 1pc 4% 0pc 4%; + padding: 0.5pc 0.5pc 0.5pc 0.5pc; + } + + .programlisting, + .screen + { + font-size: 9pt; + display: block; + margin: 1pc 4% 0pc 4%; + padding: 0.5pc 0.5pc 0.5pc 0.5pc; + } + + /* Program listings in tables don't get borders */ + td .programlisting, + td .screen + { + margin: 0pc 0pc 0pc 0pc; + padding: 0pc 0pc 0pc 0pc; + } + +/*============================================================================= +Headings +=============================================================================*/ + + h1, h2, h3, h4, h5, h6 + { + text-align: left; + margin: 1em 0em 0.5em 0em; + font-weight: bold; + } + + h1 { font-size: 140%; } + h2 { font-weight: bold; font-size: 140%; } + h3 { font-weight: bold; font-size: 130%; } + h4 { font-weight: bold; font-size: 120%; } + h5 { font-weight: normal; font-style: italic; font-size: 110%; } + h6 { font-weight: normal; font-style: italic; font-size: 100%; } + + /* Top page titles */ + title, + h1.title, + h2.title + h3.title, + h4.title, + h5.title, + h6.title, + .refentrytitle + { + font-weight: bold; + margin-bottom: 1pc; + } + + h1.title { font-size: 140% } + h2.title { font-size: 140% } + h3.title { font-size: 130% } + h4.title { font-size: 120% } + h5.title { font-size: 110% } + h6.title { font-size: 100% } + + .section h1 + { + margin: 0em 0em 0.5em 0em; + font-size: 140%; + } + + .section h2 { font-size: 140% } + .section h3 { font-size: 130% } + .section h4 { font-size: 120% } + .section h5 { font-size: 110% } + .section h6 { font-size: 100% } + + /* Code on titles */ + h1 tt.computeroutput { font-size: 140% } + h2 tt.computeroutput { font-size: 140% } + h3 tt.computeroutput { font-size: 130% } + h4 tt.computeroutput { font-size: 130% } + h5 tt.computeroutput { font-size: 130% } + h6 tt.computeroutput { font-size: 130% } + + +/*============================================================================= +Author +=============================================================================*/ + + h3.author + { + font-size: 100% + } + +/*============================================================================= +Lists +=============================================================================*/ + + li + { + font-size: 10pt; + line-height: 1.3; + } + + /* Unordered lists */ + ul + { + text-align: left; + } + + /* Ordered lists */ + ol + { + text-align: left; + } + +/*============================================================================= +Links +=============================================================================*/ + + a + { + text-decoration: none; /* no underline */ + } + + a:hover + { + text-decoration: underline; + } + +/*============================================================================= +Spirit style navigation +=============================================================================*/ + + .spirit-nav + { + text-align: right; + } + + .spirit-nav a + { + color: white; + padding-left: 0.5em; + } + + .spirit-nav img + { + border-width: 0px; + } + +/*============================================================================= +Copyright footer +=============================================================================*/ + .copyright-footer + { + text-align: right; + font-size: 70%; + } + + .copyright-footer p + { + text-align: right; + font-size: 80%; + } + +/*============================================================================= +Table of contents +=============================================================================*/ + + div.toc + { + margin: 1pc 4% 0pc 4%; + padding: 0.1pc 1pc 0.1pc 1pc; + font-size: 80%; + line-height: 1.15; + } + + .boost-toc + { + float: right; + padding: 0.5pc; + } + + /* Code on toc */ + .toc .computeroutput { font-size: 120% } + + /* No margin on nested menus */ + + .toc dl dl { margin: 0; } + +/*============================================================================= +Tables +=============================================================================*/ + + .table-title, + div.table p.title + { + margin-left: 4%; + padding-right: 0.5em; + padding-left: 0.5em; + } + + .informaltable table, + .table table + { + width: 92%; + margin-left: 4%; + margin-right: 4%; + } + + div.informaltable table, + div.table table + { + padding: 4px; + } + + /* Table Cells */ + div.informaltable table tr td, + div.table table tr td + { + padding: 0.5em; + text-align: left; + font-size: 9pt; + } + + div.informaltable table tr th, + div.table table tr th + { + padding: 0.5em 0.5em 0.5em 0.5em; + border: 1pt solid white; + font-size: 80%; + } + + table.simplelist + { + width: auto !important; + margin: 0em !important; + padding: 0em !important; + border: none !important; + } + table.simplelist td + { + margin: 0em !important; + padding: 0em !important; + text-align: left !important; + font-size: 9pt !important; + border: none !important; + } + +/*============================================================================= +Suppress margins in tables +=============================================================================*/ + + table th > *:first-child, + table td > *:first-child + { + margin-top: 0; + } + + table th > *:last-child, + table td > *:last-child + { + margin-bottom: 0; + } + +/*============================================================================= +Blurbs +=============================================================================*/ + + div.note, + div.tip, + div.important, + div.caution, + div.warning, + p.blurb + { + font-size: 9pt; /* A little bit smaller than the main text */ + line-height: 1.2; + display: block; + margin: 1pc 4% 0pc 4%; + padding: 0.5pc 0.5pc 0.5pc 0.5pc; + } + + p.blurb img + { + padding: 1pt; + } + +/*============================================================================= +Variable Lists +=============================================================================*/ + + div.variablelist + { + margin: 1em 0; + } + + /* Make the terms in definition lists bold */ + div.variablelist dl dt, + span.term + { + font-weight: bold; + font-size: 10pt; + } + + div.variablelist table tbody tr td + { + text-align: left; + vertical-align: top; + padding: 0em 2em 0em 0em; + font-size: 10pt; + margin: 0em 0em 0.5em 0em; + line-height: 1; + } + + div.variablelist dl dt + { + margin-bottom: 0.2em; + } + + div.variablelist dl dd + { + margin: 0em 0em 0.5em 2em; + font-size: 10pt; + } + + div.variablelist table tbody tr td p, + div.variablelist dl dd p + { + margin: 0em 0em 0.5em 0em; + line-height: 1; + } + +/*============================================================================= +Misc +=============================================================================*/ + + /* Title of books and articles in bibliographies */ + span.title + { + font-style: italic; + } + + span.underline + { + text-decoration: underline; + } + + span.strikethrough + { + text-decoration: line-through; + } + + /* Copyright, Legal Notice */ + div div.legalnotice p + { + text-align: left + } + +/*============================================================================= +Colors +=============================================================================*/ + + @media screen + { + body { + background-color: #FFFFFF; + color: #000000; + } + + /* Syntax Highlighting */ + .keyword { color: #0000AA; } + .identifier { color: #000000; } + .special { color: #707070; } + .preprocessor { color: #402080; } + .char { color: teal; } + .comment { color: #800000; } + .string { color: teal; } + .number { color: teal; } + .white_bkd { background-color: #FFFFFF; } + .dk_grey_bkd { background-color: #999999; } + + /* Links */ + a, a .keyword, a .identifier, a .special, a .preprocessor + a .char, a .comment, a .string, a .number + { + color: #005a9c; + } + + a:visited, a:visited .keyword, a:visited .identifier, + a:visited .special, a:visited .preprocessor a:visited .char, + a:visited .comment, a:visited .string, a:visited .number + { + color: #9c5a9c; + } + + h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, + h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, + h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited + { + text-decoration: none; /* no underline */ + color: #000000; + } + + /* Copyright, Legal Notice */ + .copyright + { + color: #666666; + font-size: small; + } + + div div.legalnotice p + { + color: #666666; + } + + /* Program listing */ + pre.synopsis + { + border: 1px solid #DCDCDC; + } + + .programlisting, + .screen + { + border: 1px solid #DCDCDC; + } + + td .programlisting, + td .screen + { + border: 0px solid #DCDCDC; + } + + /* Blurbs */ + div.note, + div.tip, + div.important, + div.caution, + div.warning, + p.blurb + { + border: 1px solid #DCDCDC; + } + + /* Table of contents */ + div.toc + { + border: 1px solid #DCDCDC; + } + + /* Tables */ + div.informaltable table tr td, + div.table table tr td + { + border: 1px solid #DCDCDC; + } + + div.informaltable table tr th, + div.table table tr th + { + background-color: #F0F0F0; + border: 1px solid #DCDCDC; + } + + .copyright-footer + { + color: #8F8F8F; + } + + /* Misc */ + span.highlight + { + color: #00A000; + } + } + + @media print + { + /* Links */ + a + { + color: black; + } + + a:visited + { + color: black; + } + + .spirit-nav + { + display: none; + } + + /* Program listing */ + pre.synopsis + { + border: 1px solid gray; + } + + .programlisting, + .screen + { + border: 1px solid gray; + } + + td .programlisting, + td .screen + { + border: 0px solid #DCDCDC; + } + + /* Table of contents */ + div.toc + { + border: 1px solid gray; + } + + .informaltable table, + .table table + { + border: 1px solid gray; + border-collapse: collapse; + } + + /* Tables */ + div.informaltable table tr td, + div.table table tr td + { + border: 1px solid gray; + } + + div.informaltable table tr th, + div.table table tr th + { + border: 1px solid gray; + } + + table.simplelist tr td + { + border: none !important; + } + + /* Misc */ + span.highlight + { + font-weight: bold; + } + } + +/*============================================================================= +Images +=============================================================================*/ + + span.inlinemediaobject img + { + vertical-align: middle; + } + +/*============================================================================== +Super and Subscript: style so that line spacing isn't effected, see +http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341 +==============================================================================*/ + +sup, +sub { +height: 0; +line-height: 1; +vertical-align: baseline; +position: relative; + +} + +/* For internet explorer: */ + +* html sup, +* html sub { +vertical-align: bottom; +} + +sup { +bottom: 1ex; +} + +sub { +top: .5ex; +} + +/*============================================================================== +Indexes: pretty much the same as the TOC. +==============================================================================*/ + + .index + { + font-size: 80%; + padding-top: 0px; + padding-bottom: 0px; + margin-top: 0px; + margin-bottom: 0px; + margin-left: 0px; + } + + .index ul + { + padding-left: 3em; + } + + .index p + { + padding: 2px; + margin: 2px; + } + + .index-entry-level-0 + { + font-weight: bold; + } + + .index em + { + font-weight: bold; + } + + +/*============================================================================== +Alignment and coloring use 'role' feature, available from Quickbook 1.6 up. +Added from Niall Douglas for role color and alignment. +http://article.gmane.org/gmane.comp.lib.boost.devel/243318 +*/ + +/* Add text alignment (see http://www.w3schools.com/cssref/pr_text_text-align.asp) */ +span.aligncenter +{ + display: inline-block; width: 100%; text-align: center; +} +span.alignright +{ + display: inline-block; width: 100%; text-align: right; +} +/* alignleft is the default. */ +span.alignleft +{ + display: inline-block; width: 100%; text-align: left; +} + +/* alignjustify stretches the word spacing so that each line has equal width +within a chosen fraction of page width (here arbitrarily 20%). +*Not* useful inside table items as the column width remains the total string width. +Nor very useful, except to temporarily restrict the width. +*/ +span.alignjustify +{ + display: inline-block; width: 20%; text-align: justify; +} + +/* Text colors. +Names at http://www.w3.org/TR/2002/WD-css3-color-20020219/ 4.3. X11 color keywords. +Quickbook Usage: [role red Some red text] + +*/ +span.red { inline-block; color: red; } +span.green { color: green; } +span.lime { color: #00FF00; } +span.blue { color: blue; } +span.navy { color: navy; } +span.yellow { color: yellow; } +span.magenta { color: magenta; } +span.indigo { color: #4B0082; } +span.cyan { color: cyan; } +span.purple { color: purple; } +span.gold { color: gold; } +span.silver { color: silver; } /* lighter gray */ +span.gray { color: #808080; } /* light gray */ diff --git a/libs/python/doc/html/building.html b/libs/python/doc/html/building.html index ce9a6d881d..4ecd06ac84 100644 --- a/libs/python/doc/html/building.html +++ b/libs/python/doc/html/building.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter 1. Building and Testing</title> <link rel="stylesheet" href="boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python"> <link rel="up" href="index.html" title="Boost.Python"> <link rel="prev" href="index.html" title="Boost.Python"> @@ -17,14 +17,14 @@ </div> <div class="chapter"> <div class="titlepage"><div> -<div><h2 class="title"> -<a name="building"></a>Chapter 1. Building and Testing</h2></div> +<div><h1 class="title"> +<a name="building"></a>Chapter 1. Building and Testing</h1></div> <div><div class="authorgroup"><div class="author"><h3 class="author"> <span class="firstname">David</span> <span class="surname">Abrahams</span> </h3></div></div></div> <div><p class="copyright">Copyright © 2002-2015 David Abrahams, Stefan Seefeld</p></div> </div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="building.html#building.requirements">Requirements</a></span></dt> <dt><span class="section"><a href="building/background.html">Background</a></span></dt> <dt><span class="section"><a href="building/no_install_quickstart.html">No-Install Quickstart</a></span></dt> @@ -67,12 +67,12 @@ </h3></div></div></div> <p> Boost.Python requires <a href="http://www.python.org/2.2" target="_top">Python 2.2</a> - <sup>[<a name="building.requirements.f0" href="#ftn.building.requirements.f0" class="footnote">1</a>]</sup> <span class="bold"><strong>or</strong></span> <a href="http://www.python.org" target="_top">newer</a>. + <a href="#ftn.building.requirements.f0" class="footnote" name="building.requirements.f0"><sup class="footnote">[1]</sup></a> <span class="bold"><strong>or</strong></span> <a href="http://www.python.org" target="_top">newer</a>. </p> </div> <div class="footnotes"> -<br><hr width="100" align="left"> -<div class="footnote"><p><sup>[<a id="ftn.building.requirements.f0" href="#building.requirements.f0" class="para">1</a>] </sup> +<br><hr style="width:100; text-align:left;margin-left: 0"> +<div id="ftn.building.requirements.f0" class="footnote"><p><a href="#building.requirements.f0" class="para"><sup class="para">[1] </sup></a> Note that although we tested earlier versions of Boost.Python with Python 2.2, and we don't <span class="bold"><strong>think</strong></span> we've done anything to break compatibility, this release of Boost.Python may not have been diff --git a/libs/python/doc/html/building/background.html b/libs/python/doc/html/building/background.html index 7e746c8f38..94ccb18b2f 100644 --- a/libs/python/doc/html/building/background.html +++ b/libs/python/doc/html/building/background.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Background</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../building.html" title="Chapter 1. Building and Testing"> <link rel="prev" href="../building.html" title="Chapter 1. Building and Testing"> @@ -22,7 +22,7 @@ <p> There are two basic models for combining C++ and Python: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://www.python.org/doc/current/ext/intro.html" target="_top">extending</a>, in which the end-user launches the Python interpreter executable and diff --git a/libs/python/doc/html/building/choosing_a_boost_python_library_.html b/libs/python/doc/html/building/choosing_a_boost_python_library_.html index 6e9715bf28..40022d0212 100644 --- a/libs/python/doc/html/building/choosing_a_boost_python_library_.html +++ b/libs/python/doc/html/building/choosing_a_boost_python_library_.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Choosing a Boost.Python Library Binary</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../building.html" title="Chapter 1. Building and Testing"> <link rel="prev" href="configuring_boost_build.html" title="Configuring Boost.Build"> @@ -20,7 +20,7 @@ <a name="building.choosing_a_boost_python_library_"></a><a class="link" href="choosing_a_boost_python_library_.html" title="Choosing a Boost.Python Library Binary">Choosing a Boost.Python Library Binary</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="choosing_a_boost_python_library_.html#building.choosing_a_boost_python_library_.the_dynamic_binary">The Dynamic Binary</a></span></dt> <dt><span class="section"><a href="choosing_a_boost_python_library_.html#building.choosing_a_boost_python_library_.the_static_binary">The @@ -31,7 +31,7 @@ automatically—you choose to use a pre-built Boost.Python library, you'll need to think about which one to link with. The Boost.Python binary comes in both static and dynamic flavors. Take care to choose the right flavor - for your application. <sup>[<a name="building.choosing_a_boost_python_library_.f0" href="#ftn.building.choosing_a_boost_python_library_.f0" class="footnote">3</a>]</sup> + for your application. <a href="#ftn.building.choosing_a_boost_python_library_.f0" class="footnote" name="building.choosing_a_boost_python_library_.f0"><sup class="footnote">[3]</sup></a> </p> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> @@ -41,10 +41,10 @@ <p> The dynamic library is the safest and most-versatile choice: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> A single copy of the library code is used by all extension modules - built with a given toolset. <sup>[<a name="building.choosing_a_boost_python_library_.the_dynamic_binary.f0" href="#ftn.building.choosing_a_boost_python_library_.the_dynamic_binary.f0" class="footnote">4</a>]</sup> + built with a given toolset. <a href="#ftn.building.choosing_a_boost_python_library_.the_dynamic_binary.f0" class="footnote" name="building.choosing_a_boost_python_library_.the_dynamic_binary.f0"><sup class="footnote">[4]</sup></a> </li> <li class="listitem"> The library contains a type conversion registry. Because one registry @@ -63,7 +63,7 @@ It might be appropriate to use the static Boost.Python library in any of the following cases: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> You are <a href="https://docs.python.org/2/extending/extending.html" target="_top">extending</a> python and the types exposed in your dynamically-loaded extension module @@ -73,7 +73,7 @@ <li class="listitem"> You are <a href="https://docs.python.org/2/extending/embedding.html" target="_top">embedding</a> python in your application and either: - <div class="itemizedlist"><ul class="itemizedlist" type="circle"> + <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> <li class="listitem"> You are targeting a Unix variant OS other than MacOS or AIX, where the dynamically-loaded extension modules can “see” @@ -90,14 +90,14 @@ </ul></div> </div> <div class="footnotes"> -<br><hr width="100" align="left"> -<div class="footnote"><p><sup>[<a id="ftn.building.choosing_a_boost_python_library_.f0" href="#building.choosing_a_boost_python_library_.f0" class="para">3</a>] </sup> +<br><hr style="width:100; text-align:left;margin-left: 0"> +<div id="ftn.building.choosing_a_boost_python_library_.f0" class="footnote"><p><a href="#building.choosing_a_boost_python_library_.f0" class="para"><sup class="para">[3] </sup></a> Information about how to identify the static and dynamic builds of Boost.Python on <a href="http://boost.org/more/getting_started/windows.html#library-naming" target="_top">Windows</a> / <a href="http://boost.org/more/getting_started/unix-variants.html#library-naming" target="_top">Unix variants</a> </p></div> -<div class="footnote"><p><sup>[<a id="ftn.building.choosing_a_boost_python_library_.the_dynamic_binary.f0" href="#building.choosing_a_boost_python_library_.the_dynamic_binary.f0" class="para">4</a>] </sup> +<div id="ftn.building.choosing_a_boost_python_library_.the_dynamic_binary.f0" class="footnote"><p><a href="#building.choosing_a_boost_python_library_.the_dynamic_binary.f0" class="para"><sup class="para">[4] </sup></a> Because of the way most *nix platforms share symbols among dynamically-loaded objects, I'm not certain that extension modules built with different compiler toolsets will always use different copies of the Boost.Python diff --git a/libs/python/doc/html/building/configuring_boost_build.html b/libs/python/doc/html/building/configuring_boost_build.html index c4a77fd0d4..916e026011 100644 --- a/libs/python/doc/html/building/configuring_boost_build.html +++ b/libs/python/doc/html/building/configuring_boost_build.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Configuring Boost.Build</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../building.html" title="Chapter 1. Building and Testing"> <link rel="prev" href="installing_boost_python_on_your_.html" title="Installing Boost.Python on your System"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="building.configuring_boost_build"></a><a class="link" href="configuring_boost_build.html" title="Configuring Boost.Build">Configuring Boost.Build</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="configuring_boost_build.html#building.configuring_boost_build.python_configuration_parameters">Python Configuration Parameters</a></span></dt> <dt><span class="section"><a href="configuring_boost_build.html#building.configuring_boost_build.examples">Examples</a></span></dt> @@ -40,7 +40,7 @@ <tr><td align="left" valign="top"><p> If you are using a unix-variant OS and you ran Boost's <code class="computeroutput"><span class="identifier">configure</span></code> script, it may have generated a <code class="computeroutput"><span class="identifier">user</span><span class="special">-</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">jam</span></code> - for you. <sup>[<a name="building.configuring_boost_build.f0" href="#ftn.building.configuring_boost_build.f0" class="footnote">2</a>]</sup> If your <code class="computeroutput"><span class="identifier">configure</span></code>/<code class="computeroutput"><span class="identifier">make</span></code> sequence was successful and Boost.Python + for you. <a href="#ftn.building.configuring_boost_build.f0" class="footnote" name="building.configuring_boost_build.f0"><sup class="footnote">[2]</sup></a> If your <code class="computeroutput"><span class="identifier">configure</span></code>/<code class="computeroutput"><span class="identifier">make</span></code> sequence was successful and Boost.Python binaries were built, your <code class="computeroutput"><span class="identifier">user</span><span class="special">-</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">jam</span></code> file is probably already correct. </p></td></tr> @@ -75,7 +75,7 @@ </p> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">version</span></dt> <dd><p> the version of Python to use. Should be in Major.Minor format, for @@ -134,7 +134,7 @@ Note that in the examples below, case and <span class="bold"><strong>especially whitespace</strong></span> are significant. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <p class="simpara"> If you have both python 2.5 and python 2.4 installed, <code class="computeroutput"><span class="identifier">user</span><span class="special">-</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">jam</span></code> might contain @@ -239,8 +239,8 @@ </ul></div> </div> <div class="footnotes"> -<br><hr width="100" align="left"> -<div class="footnote"><p><sup>[<a id="ftn.building.configuring_boost_build.f0" href="#building.configuring_boost_build.f0" class="para">2</a>] </sup> +<br><hr style="width:100; text-align:left;margin-left: 0"> +<div id="ftn.building.configuring_boost_build.f0" class="footnote"><p><a href="#building.configuring_boost_build.f0" class="para"><sup class="para">[2] </sup></a> <code class="computeroutput"><span class="identifier">configure</span></code> overwrites the existing <code class="computeroutput"><span class="identifier">user</span><span class="special">-</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">jam</span></code> in your home directory (if any) after making a backup of the old version. diff --git a/libs/python/doc/html/building/include_issues.html b/libs/python/doc/html/building/include_issues.html index b2622cf441..7ccd59e631 100644 --- a/libs/python/doc/html/building/include_issues.html +++ b/libs/python/doc/html/building/include_issues.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>#include Issues</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../building.html" title="Chapter 1. Building and Testing"> <link rel="prev" href="choosing_a_boost_python_library_.html" title="Choosing a Boost.Python Library Binary"> diff --git a/libs/python/doc/html/building/installing_boost_python_on_your_.html b/libs/python/doc/html/building/installing_boost_python_on_your_.html index 3b13bfb427..95f4bcbea6 100644 --- a/libs/python/doc/html/building/installing_boost_python_on_your_.html +++ b/libs/python/doc/html/building/installing_boost_python_on_your_.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Installing Boost.Python on your System</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../building.html" title="Chapter 1. Building and Testing"> <link rel="prev" href="no_install_quickstart.html" title="No-Install Quickstart"> diff --git a/libs/python/doc/html/building/no_install_quickstart.html b/libs/python/doc/html/building/no_install_quickstart.html index 27fb1c4eda..c09337c923 100644 --- a/libs/python/doc/html/building/no_install_quickstart.html +++ b/libs/python/doc/html/building/no_install_quickstart.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>No-Install Quickstart</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../building.html" title="Chapter 1. Building and Testing"> <link rel="prev" href="background.html" title="Background"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="building.no_install_quickstart"></a><a class="link" href="no_install_quickstart.html" title="No-Install Quickstart">No-Install Quickstart</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="no_install_quickstart.html#building.no_install_quickstart.basic_procedure">Basic Procedure</a></span></dt> <dt><span class="section"><a href="no_install_quickstart.html#building.no_install_quickstart.in_case_of_trouble">In @@ -137,7 +137,7 @@ If you're still having trouble, Someone on one of the following mailing lists may be able to help: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> The <a href="http://www.boost.org/more/mailing_lists.htm#jamboost" target="_top">Boost.Build mailing list</a> for issues related to Boost.Build @@ -167,7 +167,7 @@ <a name="building.no_install_quickstart.modifying_the_example_project"></a><a class="link" href="no_install_quickstart.html#building.no_install_quickstart.modifying_the_example_project" title="Modifying the Example Project">Modifying the Example Project</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="no_install_quickstart.html#building.no_install_quickstart.modifying_the_example_project.relocate_the_project">Relocate the Project</a></span></dt> <dt><span class="section"><a href="no_install_quickstart.html#building.no_install_quickstart.modifying_the_example_project.add_new_or_change_names_of_exist">Add diff --git a/libs/python/doc/html/building/notes_for_mingw_and_cygwin_with_.html b/libs/python/doc/html/building/notes_for_mingw_and_cygwin_with_.html index a8c46628e8..d5c6c772f6 100644 --- a/libs/python/doc/html/building/notes_for_mingw_and_cygwin_with_.html +++ b/libs/python/doc/html/building/notes_for_mingw_and_cygwin_with_.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Notes for MinGW (and Cygwin with -mno-cygwin) GCC Users</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../building.html" title="Chapter 1. Building and Testing"> <link rel="prev" href="testing_boost_python.html" title="Testing Boost.Python"> diff --git a/libs/python/doc/html/building/python_debugging_builds.html b/libs/python/doc/html/building/python_debugging_builds.html index 6363b1cbb2..e1dda18362 100644 --- a/libs/python/doc/html/building/python_debugging_builds.html +++ b/libs/python/doc/html/building/python_debugging_builds.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Python Debugging Builds</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../building.html" title="Chapter 1. Building and Testing"> <link rel="prev" href="include_issues.html" title="#include Issues"> @@ -29,7 +29,7 @@ </p> <p> Since pre-built “python debugging” versions of the Python executable - and libraries are not supplied with most distributions of Python, <sup>[<a name="building.python_debugging_builds.f0" href="#ftn.building.python_debugging_builds.f0" class="footnote">5</a>]</sup> and we didn't want to force our users to build them, Boost.Build + and libraries are not supplied with most distributions of Python, <a href="#ftn.building.python_debugging_builds.f0" class="footnote" name="building.python_debugging_builds.f0"><sup class="footnote">[5]</sup></a> and we didn't want to force our users to build them, Boost.Build does not automatically enable python debugging in its <code class="computeroutput"><span class="identifier">debug</span></code> build variant (which is the default). Instead there is a special build property called <code class="computeroutput"><span class="identifier">python</span><span class="special">-</span><span class="identifier">debugging</span></code> that, when used as a build property, @@ -51,8 +51,8 @@ is defined, or python debugging will be suppressed. </p> <div class="footnotes"> -<br><hr width="100" align="left"> -<div class="footnote"><p><sup>[<a id="ftn.building.python_debugging_builds.f0" href="#building.python_debugging_builds.f0" class="para">5</a>] </sup> +<br><hr style="width:100; text-align:left;margin-left: 0"> +<div id="ftn.building.python_debugging_builds.f0" class="footnote"><p><a href="#building.python_debugging_builds.f0" class="para"><sup class="para">[5] </sup></a> On Unix and similar platforms, a debugging python and associated libraries are built by adding --with-pydebug when configuring the Python build. On Windows, the debugging version of Python is generated by the "Win32 diff --git a/libs/python/doc/html/building/testing_boost_python.html b/libs/python/doc/html/building/testing_boost_python.html index d546df8856..a250dc0c27 100644 --- a/libs/python/doc/html/building/testing_boost_python.html +++ b/libs/python/doc/html/building/testing_boost_python.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Testing Boost.Python</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../building.html" title="Chapter 1. Building and Testing"> <link rel="prev" href="python_debugging_builds.html" title="Python Debugging Builds"> diff --git a/libs/python/doc/html/configuration.html b/libs/python/doc/html/configuration.html index b8b0067fb5..9b733ca8d6 100644 --- a/libs/python/doc/html/configuration.html +++ b/libs/python/doc/html/configuration.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter 2. Configuration</title> <link rel="stylesheet" href="boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python"> <link rel="up" href="index.html" title="Boost.Python"> <link rel="prev" href="building/notes_for_mingw_and_cygwin_with_.html" title="Notes for MinGW (and Cygwin with -mno-cygwin) GCC Users"> @@ -17,14 +17,14 @@ </div> <div class="chapter"> <div class="titlepage"><div> -<div><h2 class="title"> -<a name="configuration"></a>Chapter 2. Configuration</h2></div> +<div><h1 class="title"> +<a name="configuration"></a>Chapter 2. Configuration</h1></div> <div><div class="authorgroup"><div class="author"><h3 class="author"> <span class="firstname">David</span> <span class="surname">Abrahams</span> </h3></div></div></div> <div><p class="copyright">Copyright © 2002-2015 David Abrahams, Stefan Seefeld</p></div> </div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="configuration.html#configuration.configuration">Configuration</a></span></dt> <dd><dl> <dt><span class="section"><a href="configuration.html#configuration.configuration.introduction">Introduction</a></span></dt> @@ -38,7 +38,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="configuration.configuration"></a><a class="link" href="configuration.html#configuration.configuration" title="Configuration">Configuration</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="configuration.html#configuration.configuration.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="configuration.html#configuration.configuration.application_defined_macros">Application Defined Macros</a></span></dt> diff --git a/libs/python/doc/html/faq.html b/libs/python/doc/html/faq.html index 4a789f9b52..4219428e2c 100644 --- a/libs/python/doc/html/faq.html +++ b/libs/python/doc/html/faq.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter 4. Frequently Asked Questions (FAQs)</title> <link rel="stylesheet" href="boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python"> <link rel="up" href="index.html" title="Boost.Python"> <link rel="prev" href="support.html" title="Chapter 3. Support Resources"> @@ -16,9 +16,9 @@ <a accesskey="p" href="support.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="faq/i_m_getting_the_attempt_to_retur.html"><img src="images/next.png" alt="Next"></a> </div> <div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="faq"></a>Chapter 4. Frequently Asked Questions (FAQs)</h2></div></div></div> -<div class="toc"><dl> +<div class="titlepage"><div><div><h1 class="title"> +<a name="faq"></a>Chapter 4. Frequently Asked Questions (FAQs)</h1></div></div></div> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="faq.html#faq.how_can_i_wrap_a_function_which_">How can I wrap a function which takes a function pointer as an argument?</a></span></dt> <dt><span class="section"><a href="faq/i_m_getting_the_attempt_to_retur.html">I'm getting the diff --git a/libs/python/doc/html/faq/compilation_takes_too_much_time_.html b/libs/python/doc/html/faq/compilation_takes_too_much_time_.html index 7023e110e3..858f0845c5 100644 --- a/libs/python/doc/html/faq/compilation_takes_too_much_time_.html +++ b/libs/python/doc/html/faq/compilation_takes_too_much_time_.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Compilation takes too much time and eats too much memory! What can I do to make it faster?</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="how_can_i_wrap_a_function_which0.html" title="How can I wrap a function which needs to take ownership of a raw pointer?"> diff --git a/libs/python/doc/html/faq/does_boost_python_work_with_mac_.html b/libs/python/doc/html/faq/does_boost_python_work_with_mac_.html index 7c4faee51f..394ec30c67 100644 --- a/libs/python/doc/html/faq/does_boost_python_work_with_mac_.html +++ b/libs/python/doc/html/faq/does_boost_python_work_with_mac_.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Does Boost.Python work with Mac OS X?</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="why_doesn_t_my_operator_work.html" title="Why doesn't my *= operator work?"> diff --git a/libs/python/doc/html/faq/error_c2064_term_does_not_evalua.html b/libs/python/doc/html/faq/error_c2064_term_does_not_evalua.html index 93f089463b..d50296d5ff 100644 --- a/libs/python/doc/html/faq/error_c2064_term_does_not_evalua.html +++ b/libs/python/doc/html/faq/error_c2064_term_does_not_evalua.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>error C2064: term does not evaluate to a function taking 2 arguments</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="how_do_i_create_sub_packages_usi.html" title="How do I create sub-packages using Boost.Python?"> diff --git a/libs/python/doc/html/faq/fatal_error_c1204_compiler_limit.html b/libs/python/doc/html/faq/fatal_error_c1204_compiler_limit.html index 60b99f0d03..f8e1b2a13c 100644 --- a/libs/python/doc/html/faq/fatal_error_c1204_compiler_limit.html +++ b/libs/python/doc/html/faq/fatal_error_c1204_compiler_limit.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>fatal error C1204:Compiler limit:internal structure overflow</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="how_can_i_wrap_functions_which_t.html" title="How can I wrap functions which take C++ containers as arguments?"> diff --git a/libs/python/doc/html/faq/how_can_i_automatically_convert_.html b/libs/python/doc/html/faq/how_can_i_automatically_convert_.html index f417aa199b..294b73bd4d 100644 --- a/libs/python/doc/html/faq/how_can_i_automatically_convert_.html +++ b/libs/python/doc/html/faq/how_can_i_automatically_convert_.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>How can I automatically convert my custom string type to and from a Python string?</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="error_c2064_term_does_not_evalua.html" title="error C2064: term does not evaluate to a function taking 2 arguments"> @@ -34,7 +34,7 @@ <p> If you look at the code you will find: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> A custom <code class="computeroutput"><span class="identifier">to_python</span></code> converter (easy): <code class="computeroutput"><span class="identifier">custom_string_to_python_str</span></code> diff --git a/libs/python/doc/html/faq/how_can_i_find_the_existing_pyob.html b/libs/python/doc/html/faq/how_can_i_find_the_existing_pyob.html index c0c8e52bca..f0ba51f938 100644 --- a/libs/python/doc/html/faq/how_can_i_find_the_existing_pyob.html +++ b/libs/python/doc/html/faq/how_can_i_find_the_existing_pyob.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>How can I find the existing PyObject that holds a C++ object?</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="does_boost_python_work_with_mac_.html" title="Does Boost.Python work with Mac OS X?"> diff --git a/libs/python/doc/html/faq/how_can_i_wrap_a_function_which0.html b/libs/python/doc/html/faq/how_can_i_wrap_a_function_which0.html index 14997a9caf..fd8f0b065a 100644 --- a/libs/python/doc/html/faq/how_can_i_wrap_a_function_which0.html +++ b/libs/python/doc/html/faq/how_can_i_wrap_a_function_which0.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>How can I wrap a function which needs to take ownership of a raw pointer?</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="how_can_i_find_the_existing_pyob.html" title="How can I find the existing PyObject that holds a C++ object?"> diff --git a/libs/python/doc/html/faq/how_can_i_wrap_functions_which_t.html b/libs/python/doc/html/faq/how_can_i_wrap_functions_which_t.html index e8b4eb3d65..47733aecdd 100644 --- a/libs/python/doc/html/faq/how_can_i_wrap_functions_which_t.html +++ b/libs/python/doc/html/faq/how_can_i_wrap_functions_which_t.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>How can I wrap functions which take C++ containers as arguments?</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="is_return_internal_reference_eff.html" title="Is return_internal_reference efficient?"> diff --git a/libs/python/doc/html/faq/how_do_i_create_sub_packages_usi.html b/libs/python/doc/html/faq/how_do_i_create_sub_packages_usi.html index 40dd9989a2..9e5e1289ca 100644 --- a/libs/python/doc/html/faq/how_do_i_create_sub_packages_usi.html +++ b/libs/python/doc/html/faq/how_do_i_create_sub_packages_usi.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>How do I create sub-packages using Boost.Python?</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="compilation_takes_too_much_time_.html" title="Compilation takes too much time and eats too much memory! What can I do to make it faster?"> diff --git a/libs/python/doc/html/faq/how_do_i_debug_my_python_extensi.html b/libs/python/doc/html/faq/how_do_i_debug_my_python_extensi.html index 05ab95166b..7357d8b2d3 100644 --- a/libs/python/doc/html/faq/how_do_i_debug_my_python_extensi.html +++ b/libs/python/doc/html/faq/how_do_i_debug_my_python_extensi.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>How do I debug my Python extensions?</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="fatal_error_c1204_compiler_limit.html" title="fatal error C1204:Compiler limit:internal structure overflow"> @@ -114,7 +114,7 @@ </blockquote></div> <h3> <a name="faq.how_do_i_debug_my_python_extensi.h0"></a> - <span><a name="faq.how_do_i_debug_my_python_extensi.debugging_extensions_through_boo"></a></span><a class="link" href="how_do_i_debug_my_python_extensi.html#faq.how_do_i_debug_my_python_extensi.debugging_extensions_through_boo">Debugging + <span class="phrase"><a name="faq.how_do_i_debug_my_python_extensi.debugging_extensions_through_boo"></a></span><a class="link" href="how_do_i_debug_my_python_extensi.html#faq.how_do_i_debug_my_python_extensi.debugging_extensions_through_boo">Debugging extensions through Boost.Build</a> </h3> <p> diff --git a/libs/python/doc/html/faq/i_m_getting_the_attempt_to_retur.html b/libs/python/doc/html/faq/i_m_getting_the_attempt_to_retur.html index 05b86e5d6e..39ab777800 100644 --- a/libs/python/doc/html/faq/i_m_getting_the_attempt_to_retur.html +++ b/libs/python/doc/html/faq/i_m_getting_the_attempt_to_retur.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>I'm getting the "attempt to return dangling reference" error. What am I doing wrong?</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> diff --git a/libs/python/doc/html/faq/is_boost_python_thread_aware_com.html b/libs/python/doc/html/faq/is_boost_python_thread_aware_com.html index d924831f81..a4e93cb2ab 100644 --- a/libs/python/doc/html/faq/is_boost_python_thread_aware_com.html +++ b/libs/python/doc/html/faq/is_boost_python_thread_aware_com.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Is Boost.Python thread-aware/compatible with multiple interpreters?</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="why_is_my_automatic_to_python_co.html" title="Why is my automatic to-python conversion not being found?"> diff --git a/libs/python/doc/html/faq/is_return_internal_reference_eff.html b/libs/python/doc/html/faq/is_return_internal_reference_eff.html index 47041d9819..9d4df21591 100644 --- a/libs/python/doc/html/faq/is_return_internal_reference_eff.html +++ b/libs/python/doc/html/faq/is_return_internal_reference_eff.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Is return_internal_reference efficient?</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="i_m_getting_the_attempt_to_retur.html" title="I'm getting the "attempt to return dangling reference" error. What am I doing wrong?"> diff --git a/libs/python/doc/html/faq/why_doesn_t_my_operator_work.html b/libs/python/doc/html/faq/why_doesn_t_my_operator_work.html index 3c9e0734bc..31ed892470 100644 --- a/libs/python/doc/html/faq/why_doesn_t_my_operator_work.html +++ b/libs/python/doc/html/faq/why_doesn_t_my_operator_work.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Why doesn't my *= operator work?</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="how_do_i_debug_my_python_extensi.html" title="How do I debug my Python extensions?"> diff --git a/libs/python/doc/html/faq/why_is_my_automatic_to_python_co.html b/libs/python/doc/html/faq/why_is_my_automatic_to_python_co.html index c03b9b7347..fc5b1cd6f2 100644 --- a/libs/python/doc/html/faq/why_is_my_automatic_to_python_co.html +++ b/libs/python/doc/html/faq/why_is_my_automatic_to_python_co.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Why is my automatic to-python conversion not being found?</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python"> <link rel="up" href="../faq.html" title="Chapter 4. Frequently Asked Questions (FAQs)"> <link rel="prev" href="how_can_i_automatically_convert_.html" title="How can I automatically convert my custom string type to and from a Python string?"> diff --git a/libs/python/doc/html/glossary.html b/libs/python/doc/html/glossary.html index a5d051fe9c..95801206cd 100644 --- a/libs/python/doc/html/glossary.html +++ b/libs/python/doc/html/glossary.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter 5. Glossary</title> <link rel="stylesheet" href="boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python"> <link rel="up" href="index.html" title="Boost.Python"> <link rel="prev" href="faq/is_boost_python_thread_aware_com.html" title="Is Boost.Python thread-aware/compatible with multiple interpreters?"> @@ -15,11 +15,11 @@ <a accesskey="p" href="faq/is_boost_python_thread_aware_com.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a> </div> <div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="glossary"></a>Chapter 5. Glossary</h2></div></div></div> +<div class="titlepage"><div><div><h1 class="title"> +<a name="glossary"></a>Chapter 5. Glossary</h1></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">arity <a name="arity"></a></span></dt> <dd><p> The number of argumnts accepted by a function or member function. Unless diff --git a/libs/python/doc/html/index.html b/libs/python/doc/html/index.html index 599caf02f0..0608891ed5 100644 --- a/libs/python/doc/html/index.html +++ b/libs/python/doc/html/index.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Boost.Python</title> <link rel="stylesheet" href="boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python"> <link rel="next" href="building.html" title="Chapter 1. Building and Testing"> </head> @@ -37,14 +37,14 @@ </div> <h3> <a name="python.h0"></a> - <span><a name="python.synopsis"></a></span><a class="link" href="index.html#python.synopsis">Synopsis</a> + <span class="phrase"><a name="python.synopsis"></a></span><a class="link" href="index.html#python.synopsis">Synopsis</a> </h3> <p> Welcome to Boost.Python, a C++ library which enables seamless interoperability between C++ and the Python programming language. The library includes support for: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> References and Pointers </li> @@ -86,7 +86,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="python.contents"></a><a class="link" href="index.html#python.contents" title="Contents">Contents</a> </h2></div></div></div> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="tutorial/index.html" target="_top">Tutorial</a> </li> @@ -112,7 +112,7 @@ </div> <h3> <a name="python.h1"></a> - <span><a name="python.articles"></a></span><a class="link" href="index.html#python.articles">Articles</a> + <span class="phrase"><a name="python.articles"></a></span><a class="link" href="index.html#python.articles">Articles</a> </h3> <p> <a href="article.html" target="_top">Building Hybrid Systems With Boost Python</a>, @@ -120,7 +120,7 @@ </p> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> -<td align="left"><p><small>Last revised: May 05, 2016 at 21:25:19 GMT</small></p></td> +<td align="left"><p><small>Last revised: September 21, 2016 at 14:37:38 GMT</small></p></td> <td align="right"><div class="copyright-footer"></div></td> </tr></table> <hr> diff --git a/libs/python/doc/html/reference/concepts.html b/libs/python/doc/html/reference/concepts.html index 5a49fd1c0b..b37bad6d01 100644 --- a/libs/python/doc/html/reference/concepts.html +++ b/libs/python/doc/html/reference/concepts.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter 1. Concepts</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python Reference Manual"> <link rel="up" href="index.html" title="Boost.Python Reference Manual"> <link rel="prev" href="index.html" title="Boost.Python Reference Manual"> @@ -16,11 +16,11 @@ <a accesskey="p" href="index.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="concepts/dereferenceable.html"><img src="../images/next.png" alt="Next"></a> </div> <div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="concepts"></a>Chapter 1. Concepts</h2></div></div></div> +<div class="titlepage"><div><div><h1 class="title"> +<a name="concepts"></a>Chapter 1. Concepts</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="section"><a href="concepts.html#concepts.callpolicies">CallPolicies</a></span></dt> <dd><dl> <dt><span class="section"><a href="concepts.html#concepts.callpolicies.introduction">Introduction</a></span></dt> @@ -70,7 +70,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="concepts.callpolicies"></a><a class="link" href="concepts.html#concepts.callpolicies" title="CallPolicies">CallPolicies</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="concepts.html#concepts.callpolicies.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="concepts.html#concepts.callpolicies.callpolicies_composition">CallPolicies Composition</a></span></dt> diff --git a/libs/python/doc/html/reference/concepts/dereferenceable.html b/libs/python/doc/html/reference/concepts/dereferenceable.html index a08e534275..5c323b441b 100644 --- a/libs/python/doc/html/reference/concepts/dereferenceable.html +++ b/libs/python/doc/html/reference/concepts/dereferenceable.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Dereferenceable</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../concepts.html" title="Chapter 1. Concepts"> <link rel="prev" href="../concepts.html" title="Chapter 1. Concepts"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="concepts.dereferenceable"></a><a class="link" href="dereferenceable.html" title="Dereferenceable">Dereferenceable</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="dereferenceable.html#concepts.dereferenceable.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="dereferenceable.html#concepts.dereferenceable.concept_requirements">Concept Requirements</a></span></dt> diff --git a/libs/python/doc/html/reference/concepts/extractor.html b/libs/python/doc/html/reference/concepts/extractor.html index 222a6dbc1e..a778044d82 100644 --- a/libs/python/doc/html/reference/concepts/extractor.html +++ b/libs/python/doc/html/reference/concepts/extractor.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Extractor</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../concepts.html" title="Chapter 1. Concepts"> <link rel="prev" href="dereferenceable.html" title="Dereferenceable"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="concepts.extractor"></a><a class="link" href="extractor.html" title="Extractor">Extractor</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="extractor.html#concepts.extractor.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="extractor.html#concepts.extractor.concept_requirements">Concept Requirements</a></span></dt> <dt><span class="section"><a href="extractor.html#concepts.extractor.notes">Notes</a></span></dt> diff --git a/libs/python/doc/html/reference/concepts/holdergenerator.html b/libs/python/doc/html/reference/concepts/holdergenerator.html index 1d8548000c..8bd507e812 100644 --- a/libs/python/doc/html/reference/concepts/holdergenerator.html +++ b/libs/python/doc/html/reference/concepts/holdergenerator.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>HolderGenerator</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../concepts.html" title="Chapter 1. Concepts"> <link rel="prev" href="extractor.html" title="Extractor"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="concepts.holdergenerator"></a><a class="link" href="holdergenerator.html" title="HolderGenerator">HolderGenerator</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="holdergenerator.html#concepts.holdergenerator.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="holdergenerator.html#concepts.holdergenerator.concept_requirements">Concept Requirements</a></span></dt> diff --git a/libs/python/doc/html/reference/concepts/objectwrapper.html b/libs/python/doc/html/reference/concepts/objectwrapper.html index c8e63ecbb3..4b8ce22c23 100644 --- a/libs/python/doc/html/reference/concepts/objectwrapper.html +++ b/libs/python/doc/html/reference/concepts/objectwrapper.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>ObjectWrapper</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../concepts.html" title="Chapter 1. Concepts"> <link rel="prev" href="resultconverter.html" title="ResultConverter"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="concepts.objectwrapper"></a><a class="link" href="objectwrapper.html" title="ObjectWrapper">ObjectWrapper</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="objectwrapper.html#concepts.objectwrapper.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="objectwrapper.html#concepts.objectwrapper.objectwrapper_concept_requiremen">ObjectWrapper Concept Requirements</a></span></dt> diff --git a/libs/python/doc/html/reference/concepts/resultconverter.html b/libs/python/doc/html/reference/concepts/resultconverter.html index f7acfe88d1..36d9957b79 100644 --- a/libs/python/doc/html/reference/concepts/resultconverter.html +++ b/libs/python/doc/html/reference/concepts/resultconverter.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>ResultConverter</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../concepts.html" title="Chapter 1. Concepts"> <link rel="prev" href="holdergenerator.html" title="HolderGenerator"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="concepts.resultconverter"></a><a class="link" href="resultconverter.html" title="ResultConverter">ResultConverter</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="resultconverter.html#concepts.resultconverter.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="resultconverter.html#concepts.resultconverter.resultconverter_concept_requirem">ResultConverter Concept Requirements</a></span></dt> diff --git a/libs/python/doc/html/reference/embedding.html b/libs/python/doc/html/reference/embedding.html index 54218dc628..d2596c8c39 100644 --- a/libs/python/doc/html/reference/embedding.html +++ b/libs/python/doc/html/reference/embedding.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter 6. Embedding</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python Reference Manual"> <link rel="up" href="index.html" title="Boost.Python Reference Manual"> <link rel="prev" href="to_from_python_type_conversion/boost_python_register_ptr_to_pyt.html" title="boost/python/register_ptr_to_python.hpp"> @@ -16,11 +16,11 @@ <a accesskey="p" href="to_from_python_type_conversion/boost_python_register_ptr_to_pyt.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="embedding/boost_python_import_hpp.html"><img src="../images/next.png" alt="Next"></a> </div> <div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="embedding"></a>Chapter 6. Embedding</h2></div></div></div> +<div class="titlepage"><div><div><h1 class="title"> +<a name="embedding"></a>Chapter 6. Embedding</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="section"><a href="embedding.html#embedding.boost_python_exec_hpp">boost/python/exec.hpp</a></span></dt> <dd><dl> <dt><span class="section"><a href="embedding.html#embedding.boost_python_exec_hpp.introduction">Introduction</a></span></dt> @@ -45,7 +45,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="embedding.boost_python_exec_hpp"></a><a class="link" href="embedding.html#embedding.boost_python_exec_hpp" title="boost/python/exec.hpp">boost/python/exec.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="embedding.html#embedding.boost_python_exec_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="embedding.html#embedding.boost_python_exec_hpp.function_eval">Function <code class="computeroutput"><span class="identifier">eval</span></code></a></span></dt> @@ -74,7 +74,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Evaluate Python expression from expression in the context specified @@ -98,7 +98,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Execute Python source code from code in the context specified by @@ -122,7 +122,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Execute Python source code from the file named by filename in the diff --git a/libs/python/doc/html/reference/embedding/boost_python_import_hpp.html b/libs/python/doc/html/reference/embedding/boost_python_import_hpp.html index a1addfb6b2..fe621fc902 100644 --- a/libs/python/doc/html/reference/embedding/boost_python_import_hpp.html +++ b/libs/python/doc/html/reference/embedding/boost_python_import_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/import.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../embedding.html" title="Chapter 6. Embedding"> <link rel="prev" href="../embedding.html" title="Chapter 6. Embedding"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="embedding.boost_python_import_hpp"></a><a class="link" href="boost_python_import_hpp.html" title="boost/python/import.hpp">boost/python/import.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_import_hpp.html#embedding.boost_python_import_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_import_hpp.html#embedding.boost_python_import_hpp.function_import">Function <code class="computeroutput"><span class="identifier">import</span></code></a></span></dt> @@ -41,7 +41,7 @@ <pre class="programlisting"><span class="identifier">object</span> <span class="identifier">import</span><span class="special">(</span><span class="identifier">str</span> <span class="identifier">name</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Imports the module named by name. diff --git a/libs/python/doc/html/reference/function_invocation_and_creation.html b/libs/python/doc/html/reference/function_invocation_and_creation.html index 312bd336eb..263c4523fd 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter 4. Function Invocation and Creation</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python Reference Manual"> <link rel="up" href="index.html" title="Boost.Python Reference Manual"> <link rel="prev" href="object_wrappers/boost_python_tuple_hpp.html" title="boost/python/tuple.hpp"> @@ -16,11 +16,11 @@ <a accesskey="p" href="object_wrappers/boost_python_tuple_hpp.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="function_invocation_and_creation/boost_python_call_hpp.html"><img src="../images/next.png" alt="Next"></a> </div> <div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="function_invocation_and_creation"></a>Chapter 4. Function Invocation and Creation</h2></div></div></div> +<div class="titlepage"><div><div><h1 class="title"> +<a name="function_invocation_and_creation"></a>Chapter 4. Function Invocation and Creation</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="section"><a href="function_invocation_and_creation.html#function_invocation_and_creation.boost_python_args_hpp">boost/python/args.hpp</a></span></dt> <dd><dl> <dt><span class="section"><a href="function_invocation_and_creation.html#function_invocation_and_creation.boost_python_args_hpp.introduction">Introduction</a></span></dt> @@ -130,7 +130,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="function_invocation_and_creation.boost_python_args_hpp"></a><a class="link" href="function_invocation_and_creation.html#function_invocation_and_creation.boost_python_args_hpp" title="boost/python/args.hpp">boost/python/args.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="function_invocation_and_creation.html#function_invocation_and_creation.boost_python_args_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="function_invocation_and_creation.html#function_invocation_and_creation.boost_python_args_hpp.class_arg">Class <code class="computeroutput"><span class="identifier">arg</span></code></a></span></dt> @@ -146,7 +146,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.boost_python_args_hpp.introduction"></a><a class="link" href="function_invocation_and_creation.html#function_invocation_and_creation.boost_python_args_hpp.introduction" title="Introduction">Introduction</a> </h3></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="function_invocation_and_creation.html#function_invocation_and_creation.boost_python_args_hpp.introduction.keyword_expressions">keyword-expressions</a></span></dt></dl></div> +<div class="toc"><dl class="toc"><dt><span class="section"><a href="function_invocation_and_creation.html#function_invocation_and_creation.boost_python_args_hpp.introduction.keyword_expressions">keyword-expressions</a></span></dt></dl></div> <p> Supplies a family of overloaded functions for specifying argument keywords for wrapped C++ functions. @@ -192,7 +192,7 @@ <pre class="programlisting"><span class="identifier">arg</span><span class="special">(</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">name</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> The argument must be a <a class="link" href="glossary.html#ntbs">ntbs</a>. @@ -212,7 +212,7 @@ <pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span> <span class="identifier">arg</span> <span class="special">&</span><span class="keyword">operator</span> <span class="special">=</span> <span class="special">(</span><span class="identifier">T</span> <span class="keyword">const</span> <span class="special">&</span><span class="identifier">value</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> The argument must convertible to python. @@ -238,7 +238,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> The argument name must be a <a class="link" href="glossary.html#ntbs">ntbs</a>. diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_hpp.html b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_hpp.html index 5697bb0acb..a06c8f7db3 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_hpp.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/call.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../function_invocation_and_creation.html" title="Chapter 4. Function Invocation and Creation"> <link rel="prev" href="../function_invocation_and_creation.html" title="Chapter 4. Function Invocation and Creation"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="function_invocation_and_creation.boost_python_call_hpp"></a><a class="link" href="boost_python_call_hpp.html" title="boost/python/call.hpp">boost/python/call.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_call_hpp.html#function_invocation_and_creation.boost_python_call_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_call_hpp.html#function_invocation_and_creation.boost_python_call_hpp.function_call">Function <code class="computeroutput"><span class="identifier">call</span></code></a></span></dt> @@ -42,7 +42,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> R is a pointer type, reference type, or a complete type with an accessible diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_method_hpp.html b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_method_hpp.html index 7c19ff1ee8..8d5582d1bd 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_method_hpp.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_method_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/call_method.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../function_invocation_and_creation.html" title="Chapter 4. Function Invocation and Creation"> <link rel="prev" href="boost_python_call_hpp.html" title="boost/python/call.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="function_invocation_and_creation.boost_python_call_method_hpp"></a><a class="link" href="boost_python_call_method_hpp.html" title="boost/python/call_method.hpp">boost/python/call_method.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_call_method_hpp.html#function_invocation_and_creation.boost_python_call_method_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_call_method_hpp.html#function_invocation_and_creation.boost_python_call_method_hpp.function_call_method">Function <code class="computeroutput"><span class="identifier">call_method</span></code></a></span></dt> @@ -45,7 +45,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">R</span></code> is a pointer type, diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_data_members_hpp.html b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_data_members_hpp.html index 580c5b158f..65965a29a6 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_data_members_hpp.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_data_members_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/data_members.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../function_invocation_and_creation.html" title="Chapter 4. Function Invocation and Creation"> <link rel="prev" href="boost_python_call_method_hpp.html" title="boost/python/call_method.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="function_invocation_and_creation.boost_python_data_members_hpp"></a><a class="link" href="boost_python_data_members_hpp.html" title="boost/python/data_members.hpp">boost/python/data_members.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_data_members_hpp.html#function_invocation_and_creation.boost_python_data_members_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_data_members_hpp.html#function_invocation_and_creation.boost_python_data_members_hpp.functions">Functions</a></span></dt> <dt><span class="section"><a href="boost_python_data_members_hpp.html#function_invocation_and_creation.boost_python_data_members_hpp.example">Example</a></span></dt> @@ -47,7 +47,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> Policies is a model of <a class="link" href="../concepts.html#concepts.callpolicies" title="CallPolicies"><code class="computeroutput"><span class="identifier">CallPolicies</span></code></a>. @@ -81,7 +81,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> Policies is a model of CallPolicies. @@ -108,7 +108,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> Policies is a model of CallPolicies. @@ -139,7 +139,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> Policies is a model of CallPolicies. diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_make_function_hpp.html b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_make_function_hpp.html index bd2b234c6c..a352935568 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_make_function_hpp.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_make_function_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/make_function.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../function_invocation_and_creation.html" title="Chapter 4. Function Invocation and Creation"> <link rel="prev" href="boost_python_data_members_hpp.html" title="boost/python/data_members.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="function_invocation_and_creation.boost_python_make_function_hpp"></a><a class="link" href="boost_python_make_function_hpp.html" title="boost/python/make_function.hpp">boost/python/make_function.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_make_function_hpp.html#function_invocation_and_creation.boost_python_make_function_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_make_function_hpp.html#function_invocation_and_creation.boost_python_make_function_hpp.functions">Functions</a></span></dt> <dt><span class="section"><a href="boost_python_make_function_hpp.html#function_invocation_and_creation.boost_python_make_function_hpp.example">Example</a></span></dt> @@ -52,7 +52,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> F is a function pointer or member function pointer type. If policies @@ -69,7 +69,7 @@ from the first Python argument, and subsequent Python arguments will be used as the arguments to f. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> If policies are supplied, it will be applied to the function as described here. @@ -117,7 +117,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> F is a function pointer type. If policies are supplied, it must be diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_overloads_hpp.html b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_overloads_hpp.html index 71e7695167..2677051a73 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_overloads_hpp.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_overloads_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/overloads.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../function_invocation_and_creation.html" title="Chapter 4. Function Invocation and Creation"> <link rel="prev" href="boost_python_make_function_hpp.html" title="boost/python/make_function.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="function_invocation_and_creation.boost_python_overloads_hpp"></a><a class="link" href="boost_python_overloads_hpp.html" title="boost/python/overloads.hpp">boost/python/overloads.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_overloads_hpp.html#function_invocation_and_creation.boost_python_overloads_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_overloads_hpp.html#function_invocation_and_creation.boost_python_overloads_hpp.overloaddispatcher_concept">OverloadDispatcher Concept</a></span></dt> @@ -30,7 +30,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.boost_python_overloads_hpp.introduction"></a><a class="link" href="boost_python_overloads_hpp.html#function_invocation_and_creation.boost_python_overloads_hpp.introduction" title="Introduction">Introduction</a> </h3></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="boost_python_overloads_hpp.html#function_invocation_and_creation.boost_python_overloads_hpp.introduction.overload_dispatch_expressions">overload-dispatch-expressions</a></span></dt></dl></div> +<div class="toc"><dl class="toc"><dt><span class="section"><a href="boost_python_overloads_hpp.html#function_invocation_and_creation.boost_python_overloads_hpp.introduction.overload_dispatch_expressions">overload-dispatch-expressions</a></span></dt></dl></div> <p> Defines facilities for generating families of overloaded Python functions and extension class methods from C++ functions and member functions with @@ -47,7 +47,7 @@ </p> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">docstring</span></dt> <dd><p> An <a class="link" href="../glossary.html#ntbs">ntbs</a> whose value will bound to the diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_ptr_hpp.html b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_ptr_hpp.html index 567895dfc9..e4615edf09 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_ptr_hpp.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_ptr_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/ptr.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../function_invocation_and_creation.html" title="Chapter 4. Function Invocation and Creation"> <link rel="prev" href="boost_python_overloads_hpp.html" title="boost/python/overloads.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="function_invocation_and_creation.boost_python_ptr_hpp"></a><a class="link" href="boost_python_ptr_hpp.html" title="boost/python/ptr.hpp">boost/python/ptr.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_ptr_hpp.html#function_invocation_and_creation.boost_python_ptr_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_ptr_hpp.html#function_invocation_and_creation.boost_python_ptr_hpp.functions">Functions</a></span></dt> <dt><span class="section"><a href="boost_python_ptr_hpp.html#function_invocation_and_creation.boost_python_ptr_hpp.class_template_pointer_wrapper">Class @@ -69,7 +69,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> T is a pointer type. @@ -130,7 +130,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">Ptr</span></code> is a pointer @@ -159,7 +159,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> a copy of the stored pointer. @@ -177,7 +177,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.boost_python_ptr_hpp.metafunctions"></a><a class="link" href="boost_python_ptr_hpp.html#function_invocation_and_creation.boost_python_ptr_hpp.metafunctions" title="Metafunctions">Metafunctions</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_ptr_hpp.html#function_invocation_and_creation.boost_python_ptr_hpp.metafunctions.class_template_is_pointer_wrappe">Class template <code class="computeroutput"><span class="identifier">is_pointer_wrapper</span></code></a></span></dt> <dt><span class="section"><a href="boost_python_ptr_hpp.html#function_invocation_and_creation.boost_python_ptr_hpp.metafunctions.class_template_unwrap_pointer">Class @@ -201,7 +201,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> iff <code class="computeroutput"><span class="identifier">T</span></code> is a specialization of <code class="computeroutput"><span class="identifier">pointer_wrapper</span><span class="special"><></span></code>. @@ -230,7 +230,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span><span class="special">::</span><span class="identifier">type</span></code> if <code class="computeroutput"><span class="identifier">T</span></code> diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_raw_function_hpp.html b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_raw_function_hpp.html index bc4fcabaf1..366adf0786 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_raw_function_hpp.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_raw_function_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/raw_function.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../function_invocation_and_creation.html" title="Chapter 4. Function Invocation and Creation"> <link rel="prev" href="boost_python_ptr_hpp.html" title="boost/python/ptr.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="function_invocation_and_creation.boost_python_raw_function_hpp"></a><a class="link" href="boost_python_raw_function_hpp.html" title="boost/python/raw_function.hpp">boost/python/raw_function.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_raw_function_hpp.html#function_invocation_and_creation.boost_python_raw_function_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_raw_function_hpp.html#function_invocation_and_creation.boost_python_raw_function_hpp.function_raw_function">Function <code class="computeroutput"><span class="identifier">raw_function</span></code></a></span></dt> @@ -45,7 +45,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> f(tuple(), dict()) is well-formed. diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/function_documentation.html b/libs/python/doc/html/reference/function_invocation_and_creation/function_documentation.html index ba1b75be24..d4d5653188 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/function_documentation.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/function_documentation.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Function documentation</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../function_invocation_and_creation.html" title="Chapter 4. Function Invocation and Creation"> <link rel="prev" href="boost_python_raw_function_hpp.html" title="boost/python/raw_function.hpp"> @@ -20,7 +20,7 @@ <a name="function_invocation_and_creation.function_documentation"></a><a class="link" href="function_documentation.html" title="Function documentation">Function documentation</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="function_documentation.html#function_invocation_and_creation.function_documentation.boost_python_function_doc_signat">boost/python/function_doc_signature.hpp</a></span></dt> <dt><span class="section"><a href="function_documentation.html#function_invocation_and_creation.function_documentation.boost_python_pytype_function_hpp">boost/python/pytype_function.hpp</a></span></dt> </dl></div> @@ -28,7 +28,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.function_documentation.boost_python_function_doc_signat"></a><a class="link" href="function_documentation.html#function_invocation_and_creation.function_documentation.boost_python_function_doc_signat" title="boost/python/function_doc_signature.hpp">boost/python/function_doc_signature.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="function_documentation.html#function_invocation_and_creation.function_documentation.boost_python_function_doc_signat.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="function_documentation.html#function_invocation_and_creation.function_documentation.boost_python_function_doc_signat.class_function_doc_signature_gen">Class <code class="computeroutput"><span class="identifier">function_doc_signature_generator</span></code></a></span></dt> @@ -184,7 +184,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.function_documentation.boost_python_pytype_function_hpp"></a><a class="link" href="function_documentation.html#function_invocation_and_creation.function_documentation.boost_python_pytype_function_hpp" title="boost/python/pytype_function.hpp">boost/python/pytype_function.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="function_documentation.html#function_invocation_and_creation.function_documentation.boost_python_pytype_function_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="function_documentation.html#function_invocation_and_creation.function_documentation.boost_python_pytype_function_hpp.class_wrap_pytype">Class <code class="computeroutput"><span class="identifier">wrap_pytype</span></code></a></span></dt> diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/models_of_callpolicies.html b/libs/python/doc/html/reference/function_invocation_and_creation/models_of_callpolicies.html index bc2c295f58..9a72c591b0 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/models_of_callpolicies.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/models_of_callpolicies.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Models of CallPolicies</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../function_invocation_and_creation.html" title="Chapter 4. Function Invocation and Creation"> <link rel="prev" href="function_documentation.html" title="Function documentation"> @@ -20,7 +20,7 @@ <a name="function_invocation_and_creation.models_of_callpolicies"></a><a class="link" href="models_of_callpolicies.html" title="Models of CallPolicies">Models of CallPolicies</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_default_call_polici">boost/python/default_call_policies.hpp</a></span></dt> <dt><span class="section"><a href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_return_arg_hpp">boost/python/return_arg.hpp</a></span></dt> <dt><span class="section"><a href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_return_internal_ref">boost/python/return_internal_reference.hpp</a></span></dt> @@ -31,7 +31,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.models_of_callpolicies.boost_python_default_call_polici"></a><a class="link" href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_default_call_polici" title="boost/python/default_call_policies.hpp">boost/python/default_call_policies.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_default_call_polici.class_default_call_policies">Class <code class="computeroutput"><span class="identifier">default_call_policies</span></code></a></span></dt> <dt><span class="section"><a href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_default_call_polici.class_default_call_policies_stat">Class @@ -80,7 +80,7 @@ <pre class="programlisting"><span class="keyword">bool</span> <span class="identifier">precall</span><span class="special">(</span><span class="identifier">PyObject</span><span class="special">*);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> true @@ -94,7 +94,7 @@ <pre class="programlisting"><span class="identifier">PyObject</span><span class="special">*</span> <span class="identifier">postcall</span><span class="special">(</span><span class="identifier">PyObject</span><span class="special">*,</span> <span class="identifier">PyObject</span><span class="special">*</span> <span class="identifier">result</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> result @@ -133,7 +133,7 @@ <pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">apply</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> T is not a reference type. If T is a pointer type, T is const char* @@ -167,7 +167,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.models_of_callpolicies.boost_python_return_arg_hpp"></a><a class="link" href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_return_arg_hpp" title="boost/python/return_arg.hpp">boost/python/return_arg.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_return_arg_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_return_arg_hpp.class_return_arg">Class <code class="computeroutput"><span class="identifier">return_arg</span></code></a></span></dt> @@ -294,7 +294,7 @@ <pre class="programlisting"><span class="identifier">PyObject</span><span class="special">*</span> <span class="identifier">postcall</span><span class="special">(</span><span class="identifier">PyObject</span><span class="special">*</span> <span class="identifier">args</span><span class="special">,</span> <span class="identifier">PyObject</span><span class="special">*</span> <span class="identifier">result</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">PyTuple_Check</span><span class="special">(</span><span class="identifier">args</span><span class="special">)</span> @@ -380,7 +380,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.models_of_callpolicies.boost_python_return_internal_ref"></a><a class="link" href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_return_internal_ref" title="boost/python/return_internal_reference.hpp">boost/python/return_internal_reference.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_return_internal_ref.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_return_internal_ref.class_template_return_internal_r">Class template <code class="computeroutput"><span class="identifier">return_internal_reference</span></code></a></span></dt> @@ -511,7 +511,7 @@ <pre class="programlisting"><span class="identifier">PyObject</span><span class="special">*</span> <span class="identifier">postcall</span><span class="special">(</span><span class="identifier">PyObject</span><span class="special">*</span> <span class="identifier">args</span><span class="special">,</span> <span class="identifier">PyObject</span><span class="special">*</span> <span class="identifier">result</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">PyTuple_Check</span><span class="special">(</span><span class="identifier">args</span><span class="special">)</span> @@ -592,7 +592,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.models_of_callpolicies.boost_python_return_value_policy"></a><a class="link" href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_return_value_policy" title="boost/python/return_value_policy.hpp">boost/python/return_value_policy.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_return_value_policy.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_return_value_policy.class_template_return_value_poli">Class template <code class="computeroutput"><span class="identifier">return_value_policy</span></code></a></span></dt> @@ -727,7 +727,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.models_of_callpolicies.boost_python_with_custodian_and_"></a><a class="link" href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_with_custodian_and_" title="boost/python/with_custodian_and_ward.hpp">boost/python/with_custodian_and_ward.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_with_custodian_and_.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="models_of_callpolicies.html#function_invocation_and_creation.models_of_callpolicies.boost_python_with_custodian_and_.class_with_custodian_and_ward">Class <code class="computeroutput"><span class="identifier">with_custodian_and_ward</span></code></a></span></dt> @@ -898,7 +898,7 @@ <pre class="programlisting"><span class="keyword">bool</span> <span class="identifier">precall</span><span class="special">(</span><span class="identifier">PyObject</span><span class="special">*</span> <span class="identifier">args</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">PyTuple_Check</span><span class="special">(</span><span class="identifier">args</span><span class="special">)</span> @@ -1041,7 +1041,7 @@ <pre class="programlisting"><span class="identifier">PyObject</span> <span class="special">*</span><span class="identifier">postcall</span><span class="special">(</span><span class="identifier">PyObject</span><span class="special">*</span> <span class="identifier">args</span><span class="special">,</span> <span class="identifier">PyObject</span><span class="special">*</span> <span class="identifier">result</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">PyTuple_Check</span><span class="special">(</span><span class="identifier">args</span><span class="special">)</span> diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconverter.html b/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconverter.html index a157e70e27..472d2a77af 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconverter.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconverter.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Models of ResultConverter</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../function_invocation_and_creation.html" title="Chapter 4. Function Invocation and Creation"> <link rel="prev" href="models_of_callpolicies.html" title="Models of CallPolicies"> @@ -20,7 +20,7 @@ <a name="function_invocation_and_creation.models_of_resultconverter"></a><a class="link" href="models_of_resultconverter.html" title="Models of ResultConverter">Models of ResultConverter</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_resultconverter.html#function_invocation_and_creation.models_of_resultconverter.boost_python_to_python_indirect_">boost/python/to_python_indirect.hpp</a></span></dt> <dt><span class="section"><a href="models_of_resultconverter.html#function_invocation_and_creation.models_of_resultconverter.boost_python_to_python_value_hpp">boost/python/to_python_value.hpp</a></span></dt> </dl></div> @@ -28,7 +28,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.models_of_resultconverter.boost_python_to_python_indirect_"></a><a class="link" href="models_of_resultconverter.html#function_invocation_and_creation.models_of_resultconverter.boost_python_to_python_indirect_" title="boost/python/to_python_indirect.hpp">boost/python/to_python_indirect.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_resultconverter.html#function_invocation_and_creation.models_of_resultconverter.boost_python_to_python_indirect_.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="models_of_resultconverter.html#function_invocation_and_creation.models_of_resultconverter.boost_python_to_python_indirect_.example">Example</a></span></dt> </dl></div> @@ -36,7 +36,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="function_invocation_and_creation.models_of_resultconverter.boost_python_to_python_indirect_.introduction"></a><a class="link" href="models_of_resultconverter.html#function_invocation_and_creation.models_of_resultconverter.boost_python_to_python_indirect_.introduction" title="Introduction">Introduction</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_resultconverter.html#function_invocation_and_creation.models_of_resultconverter.boost_python_to_python_indirect_.introduction.class_to_python_indirect">Class <code class="computeroutput"><span class="identifier">to_python_indirect</span></code></a></span></dt> <dt><span class="section"><a href="models_of_resultconverter.html#function_invocation_and_creation.models_of_resultconverter.boost_python_to_python_indirect_.introduction.class_to_python_indirect_observe">Class @@ -145,7 +145,7 @@ <pre class="programlisting"><span class="identifier">PyObject</span><span class="special">*</span> <span class="keyword">operator</span><span class="special">()(</span><span class="identifier">T</span> <span class="identifier">x</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">x</span></code> refers to an @@ -170,7 +170,7 @@ <pre class="programlisting"><span class="keyword">bool</span> <span class="identifier">convertible</span><span class="special">()</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Returns true iff any module has registered a Python type corresponding @@ -214,7 +214,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.models_of_resultconverter.boost_python_to_python_value_hpp"></a><a class="link" href="models_of_resultconverter.html#function_invocation_and_creation.models_of_resultconverter.boost_python_to_python_value_hpp" title="boost/python/to_python_value.hpp">boost/python/to_python_value.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_resultconverter.html#function_invocation_and_creation.models_of_resultconverter.boost_python_to_python_value_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="models_of_resultconverter.html#function_invocation_and_creation.models_of_resultconverter.boost_python_to_python_value_hpp.class_template_to_python_value">Class template <code class="computeroutput"><span class="identifier">to_python_value</span></code></a></span></dt> @@ -259,7 +259,7 @@ <pre class="programlisting"><span class="keyword">static</span> <span class="keyword">bool</span> <span class="identifier">convertible</span><span class="special">();</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> iff a converter @@ -271,7 +271,7 @@ <pre class="programlisting"><span class="identifier">PyObject</span><span class="special">*</span> <span class="keyword">operator</span><span class="special">()(</span><span class="identifier">argument_type</span> <span class="identifier">x</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">convertible</span><span class="special">()</span> diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconvertergenerat.html b/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconvertergenerat.html index e0b707028b..7f3c04e85b 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconvertergenerat.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconvertergenerat.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Models of ResultConverterGenerator</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../function_invocation_and_creation.html" title="Chapter 4. Function Invocation and Creation"> <link rel="prev" href="models_of_resultconverter.html" title="Models of ResultConverter"> @@ -20,7 +20,7 @@ <a name="function_invocation_and_creation.models_of_resultconvertergenerat"></a><a class="link" href="models_of_resultconvertergenerat.html" title="Models of ResultConverterGenerator">Models of ResultConverterGenerator</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_copy_const_referenc">boost/python/copy_const_reference.hpp</a></span></dt> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_copy_non_const_refe">boost/python/copy_non_const_reference.hpp</a></span></dt> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_manage_new_object_h">boost/python/manage_new_object.hpp</a></span></dt> @@ -32,7 +32,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_copy_const_referenc"></a><a class="link" href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_copy_const_referenc" title="boost/python/copy_const_reference.hpp">boost/python/copy_const_reference.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_copy_const_referenc.class_copy_const_reference">Class <code class="computeroutput"><span class="identifier">copy_const_reference</span></code></a></span></dt> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_copy_const_referenc.class_copy_const_reference_metaf">Class @@ -67,7 +67,7 @@ <pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">apply</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">U</span> <span class="keyword">const</span><span class="special">&</span></code> for some <code class="computeroutput"><span class="identifier">U</span></code>. @@ -126,7 +126,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_copy_non_const_refe"></a><a class="link" href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_copy_non_const_refe" title="boost/python/copy_non_const_reference.hpp">boost/python/copy_non_const_reference.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_copy_non_const_refe.class_copy_non_const_reference">Class <code class="computeroutput"><span class="identifier">copy_non_const_reference</span></code></a></span></dt> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_copy_non_const_refe.class_copy_non_const_reference_m">Class @@ -163,7 +163,7 @@ <pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">apply</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">U</span> <span class="special">&</span></code> @@ -223,7 +223,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_manage_new_object_h"></a><a class="link" href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_manage_new_object_h" title="boost/python/manage_new_object.hpp">boost/python/manage_new_object.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_manage_new_object_h.class_manage_new_object">Class <code class="computeroutput"><span class="identifier">manage_new_object</span></code></a></span></dt> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_manage_new_object_h.class_manage_new_object_metafunc">Class @@ -259,7 +259,7 @@ <pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">apply</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">U</span><span class="special">*</span></code> @@ -317,7 +317,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_reference_existing_"></a><a class="link" href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_reference_existing_" title="boost/python/reference_existing_object.hpp">boost/python/reference_existing_object.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_reference_existing_.class_reference_existing_object">Class <code class="computeroutput"><span class="identifier">reference_existing_object</span></code></a></span></dt> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_reference_existing_.class_reference_existing_object_">Class @@ -362,7 +362,7 @@ <pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">apply</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">U</span><span class="special">&</span></code> @@ -443,7 +443,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_return_by_value_hpp"></a><a class="link" href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_return_by_value_hpp" title="boost/python/return_by_value.hpp">boost/python/return_by_value.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_return_by_value_hpp.class_return_by_value">Class <code class="computeroutput"><span class="identifier">return_by_value</span></code></a></span></dt> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_return_by_value_hpp.class_return_by_value_metafuncti">Class @@ -478,7 +478,7 @@ <pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">apply</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">typedef</span> <span class="identifier">to_python_value</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">type</span><span class="special">;</span></code> @@ -538,7 +538,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_return_opaque_point"></a><a class="link" href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_return_opaque_point" title="boost/python/return_opaque_pointer.hpp">boost/python/return_opaque_pointer.hpp</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_return_opaque_point.class_return_opaqe_pointer">Class <code class="computeroutput"><span class="identifier">return_opaqe_pointer</span></code></a></span></dt> <dt><span class="section"><a href="models_of_resultconvertergenerat.html#function_invocation_and_creation.models_of_resultconvertergenerat.boost_python_return_opaque_point.class_return_opaque_pointer_meta">Class @@ -578,7 +578,7 @@ <pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">apply</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">detail</span><span class="special">::</span><span class="identifier">opaque_conversion_holder</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span> diff --git a/libs/python/doc/html/reference/glossary.html b/libs/python/doc/html/reference/glossary.html index 8da013494b..98759ffa59 100644 --- a/libs/python/doc/html/reference/glossary.html +++ b/libs/python/doc/html/reference/glossary.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter 9. Glossary</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python Reference Manual"> <link rel="up" href="index.html" title="Boost.Python Reference Manual"> <link rel="prev" href="topics/indexing_support.html" title="Indexing support"> @@ -15,11 +15,11 @@ <a accesskey="p" href="topics/indexing_support.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../images/home.png" alt="Home"></a> </div> <div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="glossary"></a>Chapter 9. Glossary</h2></div></div></div> +<div class="titlepage"><div><div><h1 class="title"> +<a name="glossary"></a>Chapter 9. Glossary</h1></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">arity <a name="arity"></a></span></dt> <dd><p> The number of argumnts accepted by a function or member function. Unless diff --git a/libs/python/doc/html/reference/high_level_components.html b/libs/python/doc/html/reference/high_level_components.html index d9d5d45dcf..bdec230abc 100644 --- a/libs/python/doc/html/reference/high_level_components.html +++ b/libs/python/doc/html/reference/high_level_components.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter 2. High Level Components</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python Reference Manual"> <link rel="up" href="index.html" title="Boost.Python Reference Manual"> <link rel="prev" href="concepts/objectwrapper.html" title="ObjectWrapper"> @@ -16,11 +16,11 @@ <a accesskey="p" href="concepts/objectwrapper.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="high_level_components/boost_python_def_hpp.html"><img src="../images/next.png" alt="Next"></a> </div> <div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="high_level_components"></a>Chapter 2. High Level Components</h2></div></div></div> +<div class="titlepage"><div><div><h1 class="title"> +<a name="high_level_components"></a>Chapter 2. High Level Components</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="section"><a href="high_level_components.html#high_level_components.boost_python_class_hpp">boost/python/class.hpp</a></span></dt> <dd><dl> <dt><span class="section"><a href="high_level_components.html#high_level_components.boost_python_class_hpp.introduction">Introduction</a></span></dt> @@ -172,7 +172,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="high_level_components.boost_python_class_hpp"></a><a class="link" href="high_level_components.html#high_level_components.boost_python_class_hpp" title="boost/python/class.hpp">boost/python/class.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="high_level_components.html#high_level_components.boost_python_class_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="high_level_components.html#high_level_components.boost_python_class_hpp.class_template_class_t_bases_hel">Class template <code class="computeroutput"><span class="identifier">class_</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">Bases</span><span class="special">,</span> <span class="identifier">HeldType</span><span class="special">,</span> <span class="identifier">NonCopyable</span><span class="special">></span></code></a></span></dt> @@ -203,7 +203,7 @@ <a name="high_level_components.boost_python_class_hpp.class_template_class_t_bases_hel"></a><a class="link" href="high_level_components.html#high_level_components.boost_python_class_hpp.class_template_class_t_bases_hel" title="Class template class_<T, Bases, HeldType, NonCopyable>">Class template <code class="computeroutput"><span class="identifier">class_</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">Bases</span><span class="special">,</span> <span class="identifier">HeldType</span><span class="special">,</span> <span class="identifier">NonCopyable</span><span class="special">></span></code></a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="high_level_components.html#high_level_components.boost_python_class_hpp.class_template_class_t_bases_hel.heldtype_semantics">HeldType Semantics</a></span></dt> <dt><span class="section"><a href="high_level_components.html#high_level_components.boost_python_class_hpp.class_template_class_t_bases_hel.class_template_class_synopsis">Class @@ -496,7 +496,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> name is an <a class="link" href="glossary.html#ntbs">ntbs</a> which conforms to Python's @@ -516,7 +516,7 @@ attribute of the <a class="link" href="high_level_components/boost_python_scope_hpp.html#high_level_components.boost_python_scope_hpp.introduction" title="Introduction">current scope</a> is bound to the new extension class. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> If supplied, the value of docstring is bound to the <code class="computeroutput"><span class="identifier">__doc__</span></code> attribute of the extension class. @@ -561,7 +561,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">init_expr</span></code> is the @@ -603,7 +603,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd> <p> @@ -628,10 +628,10 @@ but the first <code class="computeroutput"><span class="identifier">N</span> <span class="special">-</span> <span class="identifier">M</span></code> arguments of each overload. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> Otherwise, a single method overload is built around fn, which must not be null: - <div class="itemizedlist"><ul class="itemizedlist" type="circle"> + <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> <li class="listitem"> If fn is a function pointer, its first argument must be of the form U, U cv&, U cv*, or U cv* const&, @@ -748,7 +748,7 @@ <pre class="programlisting"><span class="identifier">class_</span><span class="special">&</span> <span class="identifier">staticmethod</span><span class="special">(</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">name</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> name is an <a class="link" href="glossary.html#ntbs">ntbs</a> which conforms to Python's @@ -768,7 +768,7 @@ <pre class="programlisting"><span class="identifier">setattr</span><span class="special">(</span><span class="identifier">self</span><span class="special">,</span> <span class="identifier">name</span><span class="special">,</span> <span class="identifier">staticmethod</span><span class="special">(</span><span class="identifier">getattr</span><span class="special">(</span><span class="identifier">self</span><span class="special">,</span> <span class="identifier">name</span><span class="special">)))</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Note</span></dt> <dd><p> Attempting to invoke def(name,...) after invoking staticmethod(name) @@ -785,7 +785,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Adds a Python <a href="http://www.python.org/doc/ref/specialnames.html" target="_top">special @@ -802,7 +802,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> name is an <a class="link" href="glossary.html#ntbs">ntbs</a> which conforms to Python's @@ -831,7 +831,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> name is an <a class="link" href="glossary.html#ntbs">ntbs</a> which conform to Python's @@ -864,7 +864,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> name is an <a class="link" href="glossary.html#ntbs">ntbs</a> which conforms to Python's @@ -898,7 +898,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> name is an <a class="link" href="glossary.html#ntbs">ntbs</a> which conforms to Python's @@ -935,7 +935,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd> <pre class="programlisting"><span class="keyword">this</span><span class="special">-></span><span class="identifier">add_property</span><span class="special">(</span><span class="identifier">name</span><span class="special">,</span> <span class="identifier">make_getter</span><span class="special">(</span><span class="identifier">pm</span><span class="special">),</span> <span class="identifier">make_setter</span><span class="special">(</span><span class="identifier">pm</span><span class="special">),</span> <span class="identifier">doc</span><span class="special">);</span></pre> @@ -964,7 +964,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> PickleSuite must be publically derived from <a class="link" href="topics/pickle_support.html#topics.pickle_support.the_pickle_interface" title="The Pickle Interface">pickle_suite</a>. @@ -991,7 +991,7 @@ <pre class="programlisting"><span class="identifier">class_</span><span class="special">&</span> <span class="identifier">enable_pickling</span><span class="special">();</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Defines the __reduce__ method and the __safe_for_unpickling__ attribute. @@ -1014,7 +1014,7 @@ <a name="high_level_components.boost_python_class_hpp.class_template_bases_t1_t2_tn"></a><a class="link" href="high_level_components.html#high_level_components.boost_python_class_hpp.class_template_bases_t1_t2_tn" title="Class template bases<T1, T2, ...TN>">Class template bases<T1, T2, ...TN></a> </h3></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="high_level_components.html#high_level_components.boost_python_class_hpp.class_template_bases_t1_t2_tn.class_template_bases_synopsis">Class +<div class="toc"><dl class="toc"><dt><span class="section"><a href="high_level_components.html#high_level_components.boost_python_class_hpp.class_template_bases_t1_t2_tn.class_template_bases_synopsis">Class template bases synopsis</a></span></dt></dl></div> <p> An MPL sequence which can be used in class_<...> instantiations indicate diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_def_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_def_hpp.html index 7a5b4ba593..d3366ce6f0 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_def_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_def_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/def.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../high_level_components.html" title="Chapter 2. High Level Components"> <link rel="prev" href="../high_level_components.html" title="Chapter 2. High Level Components"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="high_level_components.boost_python_def_hpp"></a><a class="link" href="boost_python_def_hpp.html" title="boost/python/def.hpp">boost/python/def.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_def_hpp.html#high_level_components.boost_python_def_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_def_hpp.html#high_level_components.boost_python_def_hpp.functions">Functions</a></span></dt> <dt><span class="section"><a href="boost_python_def_hpp.html#high_level_components.boost_python_def_hpp.example">Example</a></span></dt> @@ -53,7 +53,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd> <p> @@ -61,7 +61,7 @@ <a href="http://www.python.org/doc/current/ref/identifiers.html" target="_top">identifier naming rules</a>. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> If <code class="computeroutput"><span class="identifier">Fn</span></code> is [derived from] <a class="link" href="../object_wrappers/boost_python_object_hpp.html#object_wrappers.boost_python_object_hpp.class_object" title="Class object">object</a>, diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_def_visitor_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_def_visitor_hpp.html index e007c7401f..5b706f1827 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_def_visitor_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_def_visitor_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/def_visitor.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../high_level_components.html" title="Chapter 2. High Level Components"> <link rel="prev" href="boost_python_def_hpp.html" title="boost/python/def.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="high_level_components.boost_python_def_visitor_hpp"></a><a class="link" href="boost_python_def_visitor_hpp.html" title="boost/python/def_visitor.hpp">boost/python/def_visitor.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_def_visitor_hpp.html#high_level_components.boost_python_def_visitor_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_def_visitor_hpp.html#high_level_components.boost_python_def_visitor_hpp.class_def_visitor">Class <code class="computeroutput"><span class="identifier">def_visitor</span></code></a></span></dt> @@ -64,7 +64,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd> <p> diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_docstring_options_h.html b/libs/python/doc/html/reference/high_level_components/boost_python_docstring_options_h.html index 4e3cee66a7..f21229d6f8 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_docstring_options_h.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_docstring_options_h.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/docstring_options.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../high_level_components.html" title="Chapter 2. High Level Components"> <link rel="prev" href="boost_python_def_visitor_hpp.html" title="boost/python/def_visitor.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="high_level_components.boost_python_docstring_options_h"></a><a class="link" href="boost_python_docstring_options_h.html" title="boost/python/docstring_options.hpp">boost/python/docstring_options.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_docstring_options_h.html#high_level_components.boost_python_docstring_options_h.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_docstring_options_h.html#high_level_components.boost_python_docstring_options_h.class_docstring_options">Class <code class="computeroutput"><span class="identifier">docstring_options</span></code></a></span></dt> @@ -85,7 +85,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Constructs a docstring_options object which controls the appearance @@ -101,7 +101,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Constructs a <code class="computeroutput"><span class="identifier">docstring_options</span></code> @@ -120,7 +120,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Constructs a <code class="computeroutput"><span class="identifier">docstring_options</span></code> @@ -144,7 +144,7 @@ <pre class="programlisting"><span class="special">~</span><span class="identifier">docstring_options</span><span class="special">();</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Restores the previous state of the docstring options. In particular, @@ -186,7 +186,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="high_level_components.boost_python_docstring_options_h.example"></a><a class="link" href="boost_python_docstring_options_h.html#high_level_components.boost_python_docstring_options_h.example" title="Example">Example</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_docstring_options_h.html#high_level_components.boost_python_docstring_options_h.example.docstring_options_defined_at_com">Docstring options defined at compile time</a></span></dt> <dt><span class="section"><a href="boost_python_docstring_options_h.html#high_level_components.boost_python_docstring_options_h.example.selective_suppressions">Selective diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_enum_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_enum_hpp.html index fd16a17627..b4833aec08 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_enum_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_enum_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/enum.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../high_level_components.html" title="Chapter 2. High Level Components"> <link rel="prev" href="boost_python_docstring_options_h.html" title="boost/python/docstring_options.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="high_level_components.boost_python_enum_hpp"></a><a class="link" href="boost_python_enum_hpp.html" title="boost/python/enum.hpp">boost/python/enum.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_enum_hpp.html#high_level_components.boost_python_enum_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_enum_hpp.html#high_level_components.boost_python_enum_hpp.class_template_enum">Class template <code class="computeroutput"><span class="identifier">enum_</span></code></a></span></dt> @@ -68,7 +68,7 @@ <pre class="programlisting"><span class="identifier">enum_</span><span class="special">(</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">name</span><span class="special">,</span> <span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">doc</span><span class="special">=</span><span class="number">0</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> name is an <a class="link" href="../glossary.html#ntbs">ntbs</a> which conforms to Python's @@ -93,7 +93,7 @@ <pre class="programlisting"><span class="identifier">enum_</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">value</span><span class="special">(</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">name</span><span class="special">,</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> name is an <a class="link" href="../glossary.html#ntbs">ntbs</a> which conforms to Python's @@ -114,7 +114,7 @@ <pre class="programlisting"><span class="identifier">enum_</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">export_values</span><span class="special">();</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> sets attributes in the <a class="link" href="boost_python_scope_hpp.html" title="boost/python/scope.hpp">current diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_errors_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_errors_hpp.html index 065582f853..dc6843a6c8 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_errors_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_errors_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/errors.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../high_level_components.html" title="Chapter 2. High Level Components"> <link rel="prev" href="boost_python_enum_hpp.html" title="boost/python/enum.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="high_level_components.boost_python_errors_hpp"></a><a class="link" href="boost_python_errors_hpp.html" title="boost/python/errors.hpp">boost/python/errors.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_errors_hpp.html#high_level_components.boost_python_errors_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_errors_hpp.html#high_level_components.boost_python_errors_hpp.class_error_already_set">Class <code class="computeroutput"><span class="identifier">error_already_set</span></code></a></span></dt> @@ -66,7 +66,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> The first form requires that the expression function0<void>(f) @@ -111,7 +111,7 @@ <pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span> <span class="identifier">T</span><span class="special">*</span> <span class="identifier">expect_non_null</span><span class="special">(</span><span class="identifier">T</span><span class="special">*</span> <span class="identifier">x</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> x @@ -130,7 +130,7 @@ <pre class="programlisting"><span class="keyword">void</span> <span class="identifier">throw_error_already_set</span><span class="special">();</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> throw error_already_set(); @@ -145,7 +145,7 @@ <pre class="programlisting"><span class="keyword">void</span> <span class="identifier">throw_error_already_set</span><span class="special">();</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> throw error_already_set(); diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_exception_translato.html b/libs/python/doc/html/reference/high_level_components/boost_python_exception_translato.html index 038cdc10df..0cbffa6ca1 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_exception_translato.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_exception_translato.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/exception_translator.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../high_level_components.html" title="Chapter 2. High Level Components"> <link rel="prev" href="boost_python_errors_hpp.html" title="boost/python/errors.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="high_level_components.boost_python_exception_translato"></a><a class="link" href="boost_python_exception_translato.html" title="boost/python/exception_translator.hpp">boost/python/exception_translator.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_exception_translato.html#high_level_components.boost_python_exception_translato.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_exception_translato.html#high_level_components.boost_python_exception_translato.function_register_exception_tran">Function <code class="computeroutput"><span class="identifier">register_exception_translator</span></code></a></span></dt> @@ -51,7 +51,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd> <p> diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_init_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_init_hpp.html index d34c6dddc6..c87d621f54 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_init_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_init_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/init.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../high_level_components.html" title="Chapter 2. High Level Components"> <link rel="prev" href="boost_python_exception_translato.html" title="boost/python/exception_translator.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="high_level_components.boost_python_init_hpp"></a><a class="link" href="boost_python_init_hpp.html" title="boost/python/init.hpp">boost/python/init.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_init_hpp.html#high_level_components.boost_python_init_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_init_hpp.html#high_level_components.boost_python_init_hpp.class_template_init">Class template <code class="computeroutput"><span class="identifier">init</span></code></a></span></dt> @@ -31,7 +31,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="high_level_components.boost_python_init_hpp.introduction"></a><a class="link" href="boost_python_init_hpp.html#high_level_components.boost_python_init_hpp.introduction" title="Introduction">Introduction</a> </h3></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="boost_python_init_hpp.html#high_level_components.boost_python_init_hpp.introduction.init_expressions">init-expressions</a></span></dt></dl></div> +<div class="toc"><dl class="toc"><dt><span class="section"><a href="boost_python_init_hpp.html#high_level_components.boost_python_init_hpp.introduction.init_expressions">init-expressions</a></span></dt></dl></div> <p> <boost/python/init.hpp> defines the interface for exposing C++ constructors to Python as extension class <code class="computeroutput"><span class="identifier">__init__</span></code> @@ -48,7 +48,7 @@ </p> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">docstring</span></dt> <dd><p> An <a class="link" href="../glossary.html#ntbs">ntbs</a> whose value will bound to the @@ -82,7 +82,7 @@ <a name="high_level_components.boost_python_init_hpp.class_template_init"></a><a class="link" href="boost_python_init_hpp.html#high_level_components.boost_python_init_hpp.class_template_init" title="Class template init">Class template <code class="computeroutput"><span class="identifier">init</span></code></a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_init_hpp.html#high_level_components.boost_python_init_hpp.class_template_init.class_template_init_constructors">Class template <code class="computeroutput"><span class="identifier">init</span></code> constructors</a></span></dt> <dt><span class="section"><a href="boost_python_init_hpp.html#high_level_components.boost_python_init_hpp.class_template_init.class_template_init_observer_fun">Class @@ -118,7 +118,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> If supplied, doc is an <a class="link" href="../glossary.html#ntbs">ntbs</a>. If supplied, @@ -155,7 +155,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> Policies is a model of <a class="link" href="../concepts.html#concepts.callpolicies" title="CallPolicies">CallPolicies</a>. diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_iterator_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_iterator_hpp.html index efa4f208ad..094c87779a 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_iterator_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_iterator_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/iterator.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../high_level_components.html" title="Chapter 2. High Level Components"> <link rel="prev" href="boost_python_init_hpp.html" title="boost/python/init.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="high_level_components.boost_python_iterator_hpp"></a><a class="link" href="boost_python_iterator_hpp.html" title="boost/python/iterator.hpp">boost/python/iterator.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_iterator_hpp.html#high_level_components.boost_python_iterator_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_iterator_hpp.html#high_level_components.boost_python_iterator_hpp.class_template_iterator">Class template <code class="computeroutput"><span class="identifier">iterator</span></code></a></span></dt> @@ -163,7 +163,7 @@ <pre class="programlisting"><span class="identifier">iterator</span><span class="special">()</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd> <p> @@ -281,7 +281,7 @@ <pre class="programlisting"><span class="keyword">static</span> <span class="identifier">iterator</span> <span class="identifier">begin</span><span class="special">(</span><span class="identifier">C</span><span class="special">&);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">x</span><span class="special">.</span><span class="identifier">begin</span><span class="special">()</span></code> @@ -291,7 +291,7 @@ <pre class="programlisting"><span class="keyword">static</span> <span class="identifier">iterator</span> <span class="identifier">end</span><span class="special">(</span><span class="identifier">C</span><span class="special">&);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">x</span><span class="special">.</span><span class="identifier">end</span><span class="special">()</span></code> @@ -314,7 +314,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> NextPolicies is a default-constructible model of <a class="link" href="../concepts.html#concepts.callpolicies" title="CallPolicies">CallPolicies</a>. diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_module_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_module_hpp.html index a298b4b131..bb701e3c15 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_module_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_module_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/module.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../high_level_components.html" title="Chapter 2. High Level Components"> <link rel="prev" href="boost_python_iterator_hpp.html" title="boost/python/iterator.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="high_level_components.boost_python_module_hpp"></a><a class="link" href="boost_python_module_hpp.html" title="boost/python/module.hpp">boost/python/module.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_module_hpp.html#high_level_components.boost_python_module_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_module_hpp.html#high_level_components.boost_python_module_hpp.macros">Macros</a></span></dt> <dt><span class="section"><a href="boost_python_module_hpp.html#high_level_components.boost_python_module_hpp.examples">Examples</a></span></dt> diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_operators_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_operators_hpp.html index a556d8c4bf..65eb9a48f3 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_operators_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_operators_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/operators.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../high_level_components.html" title="Chapter 2. High Level Components"> <link rel="prev" href="boost_python_module_hpp.html" title="boost/python/module.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="high_level_components.boost_python_operators_hpp"></a><a class="link" href="boost_python_operators_hpp.html" title="boost/python/operators.hpp">boost/python/operators.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_operators_hpp.html#high_level_components.boost_python_operators_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_operators_hpp.html#high_level_components.boost_python_operators_hpp.class_self_ns_self_t">Class <code class="computeroutput"><span class="identifier">self_ns</span><span class="special">::</span><span class="identifier">self_t</span></code></a></span></dt> @@ -52,7 +52,7 @@ <a name="high_level_components.boost_python_operators_hpp.class_self_ns_self_t"></a><a class="link" href="boost_python_operators_hpp.html#high_level_components.boost_python_operators_hpp.class_self_ns_self_t" title="Class self_ns::self_t">Class <code class="computeroutput"><span class="identifier">self_ns</span><span class="special">::</span><span class="identifier">self_t</span></code></a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_operators_hpp.html#high_level_components.boost_python_operators_hpp.class_self_ns_self_t.self_t_inplace_operators"><code class="computeroutput"><span class="identifier">self_t</span></code> inplace operators</a></span></dt> <dt><span class="section"><a href="boost_python_operators_hpp.html#high_level_components.boost_python_operators_hpp.class_self_ns_self_t.self_t_comparison_functions"><code class="computeroutput"><span class="identifier">self_t</span></code> comparison functions</a></span></dt> <dt><span class="section"><a href="boost_python_operators_hpp.html#high_level_components.boost_python_operators_hpp.class_self_ns_self_t.self_t_non_member_operations"><code class="computeroutput"><span class="identifier">self_t</span></code> non-member operations</a></span></dt> diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_scope_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_scope_hpp.html index 851a868b33..d6e052a4fa 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_scope_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_scope_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/scope.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../high_level_components.html" title="Chapter 2. High Level Components"> <link rel="prev" href="boost_python_operators_hpp.html" title="boost/python/operators.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="high_level_components.boost_python_scope_hpp"></a><a class="link" href="boost_python_scope_hpp.html" title="boost/python/scope.hpp">boost/python/scope.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_scope_hpp.html#high_level_components.boost_python_scope_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_scope_hpp.html#high_level_components.boost_python_scope_hpp.class_scope">Class <code class="computeroutput"><span class="identifier">scope</span></code></a></span></dt> diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_stl_iterator_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_stl_iterator_hpp.html index a6f720d7ea..9d7b28c642 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_stl_iterator_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_stl_iterator_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/stl_iterator.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../high_level_components.html" title="Chapter 2. High Level Components"> <link rel="prev" href="boost_python_scope_hpp.html" title="boost/python/scope.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="high_level_components.boost_python_stl_iterator_hpp"></a><a class="link" href="boost_python_stl_iterator_hpp.html" title="boost/python/stl_iterator.hpp">boost/python/stl_iterator.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_stl_iterator_hpp.html#high_level_components.boost_python_stl_iterator_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_stl_iterator_hpp.html#high_level_components.boost_python_stl_iterator_hpp.class_template_stl_input_iterato">Class template <code class="computeroutput"><span class="identifier">stl_input_iterator</span></code></a></span></dt> @@ -145,7 +145,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Creates a past-the-end input iterator, useful for signifying the @@ -164,7 +164,7 @@ <pre class="programlisting"><span class="identifier">stl_input_iterator</span><span class="special">(</span><span class="identifier">object</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">ob</span><span class="special">)</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Calls ob.attr("__iter__")() and stores the resulting Python @@ -189,7 +189,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Calls this->it.attr("next")() and stores the result @@ -209,7 +209,7 @@ <pre class="programlisting"><span class="identifier">stl_input_iterator</span> <span class="special">&</span><span class="keyword">operator</span><span class="special">++(</span><span class="keyword">int</span><span class="special">)</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">stl_input_iterator</span> <span class="identifier">tmp</span> <span class="special">=</span> @@ -232,7 +232,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Returns the current element in the sequence. @@ -247,7 +247,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Returns true if both iterators are dereferenceable or if both iterators @@ -263,7 +263,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Returns false if both iterators are dereferenceable or if both iterators diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_wrapper_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_wrapper_hpp.html index 1761b8173c..667638c3ce 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_wrapper_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_wrapper_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/wrapper.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../high_level_components.html" title="Chapter 2. High Level Components"> <link rel="prev" href="boost_python_stl_iterator_hpp.html" title="boost/python/stl_iterator.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="high_level_components.boost_python_wrapper_hpp"></a><a class="link" href="boost_python_wrapper_hpp.html" title="boost/python/wrapper.hpp">boost/python/wrapper.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_wrapper_hpp.html#high_level_components.boost_python_wrapper_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_wrapper_hpp.html#high_level_components.boost_python_wrapper_hpp.class_override">Class <code class="computeroutput"><span class="identifier">override</span></code></a></span></dt> @@ -87,7 +87,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> If *this holds a callable Python object, it is invoked with the specified @@ -131,7 +131,7 @@ <pre class="programlisting"><span class="identifier">override</span> <span class="identifier">get_override</span><span class="special">(</span><span class="keyword">char</span> <span class="keyword">const</span><span class="special">*</span> <span class="identifier">name</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> name is a <a class="link" href="../glossary.html#ntbs">ntbs</a>. diff --git a/libs/python/doc/html/reference/index.html b/libs/python/doc/html/reference/index.html index 2b1eadd1e5..932b540fc8 100644 --- a/libs/python/doc/html/reference/index.html +++ b/libs/python/doc/html/reference/index.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Boost.Python Reference Manual</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python Reference Manual"> <link rel="next" href="concepts.html" title="Chapter 1. Concepts"> </head> @@ -36,7 +36,7 @@ </div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="chapter"><a href="concepts.html">1. Concepts</a></span></dt> <dd><dl> <dt><span class="section"><a href="concepts.html#concepts.callpolicies">CallPolicies</a></span></dt> @@ -630,7 +630,7 @@ </div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> -<td align="left"><p><small>Last revised: May 05, 2016 at 21:25:23 GMT</small></p></td> +<td align="left"><p><small>Last revised: September 21, 2016 at 14:37:42 GMT</small></p></td> <td align="right"><div class="copyright-footer"></div></td> </tr></table> <hr> diff --git a/libs/python/doc/html/reference/object_wrappers.html b/libs/python/doc/html/reference/object_wrappers.html index d2678f3f02..11a44c6fe6 100644 --- a/libs/python/doc/html/reference/object_wrappers.html +++ b/libs/python/doc/html/reference/object_wrappers.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter 3. Object Wrappers</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python Reference Manual"> <link rel="up" href="index.html" title="Boost.Python Reference Manual"> <link rel="prev" href="high_level_components/boost_python_wrapper_hpp.html" title="boost/python/wrapper.hpp"> @@ -16,11 +16,11 @@ <a accesskey="p" href="high_level_components/boost_python_wrapper_hpp.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="object_wrappers/boost_python_list_hpp.html"><img src="../images/next.png" alt="Next"></a> </div> <div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="object_wrappers"></a>Chapter 3. Object Wrappers</h2></div></div></div> +<div class="titlepage"><div><div><h1 class="title"> +<a name="object_wrappers"></a>Chapter 3. Object Wrappers</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="section"><a href="object_wrappers.html#object_wrappers.boost_python_dict_hpp">boost/python/dict.hpp</a></span></dt> <dd><dl> <dt><span class="section"><a href="object_wrappers.html#object_wrappers.boost_python_dict_hpp.introduction">Introduction</a></span></dt> @@ -149,7 +149,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="object_wrappers.boost_python_dict_hpp"></a><a class="link" href="object_wrappers.html#object_wrappers.boost_python_dict_hpp" title="boost/python/dict.hpp">boost/python/dict.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="object_wrappers.html#object_wrappers.boost_python_dict_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="object_wrappers.html#object_wrappers.boost_python_dict_hpp.class_dict">Class <code class="computeroutput"><span class="identifier">dict</span></code></a></span></dt> diff --git a/libs/python/doc/html/reference/object_wrappers/boost_python_list_hpp.html b/libs/python/doc/html/reference/object_wrappers/boost_python_list_hpp.html index 0b5bcec25f..5b60530319 100644 --- a/libs/python/doc/html/reference/object_wrappers/boost_python_list_hpp.html +++ b/libs/python/doc/html/reference/object_wrappers/boost_python_list_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost_python_list.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../object_wrappers.html" title="Chapter 3. Object Wrappers"> <link rel="prev" href="../object_wrappers.html" title="Chapter 3. Object Wrappers"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="object_wrappers.boost_python_list_hpp"></a><a class="link" href="boost_python_list_hpp.html" title="boost_python_list.hpp">boost_python_list.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_list_hpp.html#object_wrappers.boost_python_list_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_list_hpp.html#object_wrappers.boost_python_list_hpp.class_list">Class <code class="computeroutput"><span class="identifier">list</span></code></a></span></dt> diff --git a/libs/python/doc/html/reference/object_wrappers/boost_python_long_hpp.html b/libs/python/doc/html/reference/object_wrappers/boost_python_long_hpp.html index 4c4a5002e0..cfd54a7297 100644 --- a/libs/python/doc/html/reference/object_wrappers/boost_python_long_hpp.html +++ b/libs/python/doc/html/reference/object_wrappers/boost_python_long_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/long.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../object_wrappers.html" title="Chapter 3. Object Wrappers"> <link rel="prev" href="boost_python_list_hpp.html" title="boost_python_list.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="object_wrappers.boost_python_long_hpp"></a><a class="link" href="boost_python_long_hpp.html" title="boost/python/long.hpp">boost/python/long.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_long_hpp.html#object_wrappers.boost_python_long_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_long_hpp.html#object_wrappers.boost_python_long_hpp.class_long">Class <code class="computeroutput"><span class="identifier">long_</span></code></a></span></dt> diff --git a/libs/python/doc/html/reference/object_wrappers/boost_python_numeric_hpp.html b/libs/python/doc/html/reference/object_wrappers/boost_python_numeric_hpp.html index cd03b78a8d..0ac94c6761 100644 --- a/libs/python/doc/html/reference/object_wrappers/boost_python_numeric_hpp.html +++ b/libs/python/doc/html/reference/object_wrappers/boost_python_numeric_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/numeric.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../object_wrappers.html" title="Chapter 3. Object Wrappers"> <link rel="prev" href="boost_python_long_hpp.html" title="boost/python/long.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="object_wrappers.boost_python_numeric_hpp"></a><a class="link" href="boost_python_numeric_hpp.html" title="boost/python/numeric.hpp">boost/python/numeric.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_numeric_hpp.html#object_wrappers.boost_python_numeric_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_numeric_hpp.html#object_wrappers.boost_python_numeric_hpp.class_array">Class <code class="computeroutput"><span class="identifier">array</span></code></a></span></dt> @@ -200,7 +200,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> package_path and type_name, if supplied, is an <a class="link" href="../glossary.html#ntbs">ntbs</a>. @@ -218,7 +218,7 @@ <pre class="programlisting"><span class="keyword">static</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">get_module_name</span><span class="special">()</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Returns the name of the module containing the class that will be diff --git a/libs/python/doc/html/reference/object_wrappers/boost_python_object_hpp.html b/libs/python/doc/html/reference/object_wrappers/boost_python_object_hpp.html index bb22bc77c2..7aa91f06cb 100644 --- a/libs/python/doc/html/reference/object_wrappers/boost_python_object_hpp.html +++ b/libs/python/doc/html/reference/object_wrappers/boost_python_object_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/object.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../object_wrappers.html" title="Chapter 3. Object Wrappers"> <link rel="prev" href="boost_python_numeric_hpp.html" title="boost/python/numeric.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="object_wrappers.boost_python_object_hpp"></a><a class="link" href="boost_python_object_hpp.html" title="boost/python/object.hpp">boost/python/object.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_object_hpp.html#object_wrappers.boost_python_object_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_object_hpp.html#object_wrappers.boost_python_object_hpp.class_slice_nil">Class <code class="computeroutput"><span class="identifier">slice_nil</span></code></a></span></dt> @@ -144,7 +144,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> key is an <a class="link" href="../glossary.html#ntbs">ntbs</a>. @@ -194,7 +194,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> key is an <a class="link" href="../glossary.html#ntbs">ntbs</a>. @@ -214,7 +214,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> key is an <a class="link" href="../glossary.html#ntbs">ntbs</a>. @@ -260,7 +260,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> key is an object holding a string. @@ -310,7 +310,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> key is an object holding a string. @@ -330,7 +330,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> key is an object holding a string. @@ -376,7 +376,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> accesses the item of target specified by key. @@ -421,7 +421,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> sets the item of target specified by key to value. @@ -437,7 +437,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> deletes the item of target specified by key. @@ -479,7 +479,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> accesses the slice of target specified by key. @@ -524,7 +524,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> sets the slice of target specified by key to value. @@ -540,7 +540,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> deletes the slice of target specified by key. @@ -637,7 +637,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">call</span><span class="special"><</span><span class="identifier">object</span><span class="special">>(</span><span class="identifier">object</span><span class="special">(*</span><span class="keyword">static_cast</span><span class="special"><</span><span class="identifier">U</span><span class="special">*>(</span><span class="keyword">this</span><span class="special">)).</span><span class="identifier">ptr</span><span class="special">(),</span> @@ -649,7 +649,7 @@ <pre class="programlisting"><span class="identifier">object</span> <span class="keyword">operator</span><span class="special">()(</span><span class="identifier">detail</span><span class="special">::</span><span class="identifier">args_proxy</span> <span class="keyword">const</span> <span class="special">&</span><span class="identifier">args</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">call</span> <span class="identifier">object</span> @@ -665,7 +665,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">call</span> <span class="identifier">object</span> @@ -683,7 +683,7 @@ <pre class="programlisting"><span class="keyword">operator</span> <span class="identifier">bool_type</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Tests truth value of <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>. @@ -701,7 +701,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> name is an <a class="link" href="../glossary.html#ntbs">ntbs</a>. @@ -722,7 +722,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> name is a object holding a string. @@ -745,7 +745,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> accesses the item of <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> indicated by key. @@ -764,7 +764,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> accesses the slice of <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> indicated by <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">make_pair</span><span class="special">(</span><span class="identifier">object</span><span class="special">(</span><span class="identifier">start</span><span class="special">),</span> <span class="identifier">object</span><span class="special">(</span><span class="identifier">finish</span><span class="special">))</span></code>. @@ -817,7 +817,7 @@ <pre class="programlisting"><span class="identifier">object</span><span class="special">();</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Constructs an object managing a reference to the Python None object. @@ -833,7 +833,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> converts x to python and manages a reference to it. @@ -849,7 +849,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> decrements the reference count of the internally-held object. @@ -865,7 +865,7 @@ <pre class="programlisting"><span class="identifier">PyObject</span><span class="special">*</span> <span class="identifier">ptr</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> a pointer to the internally-held Python object. @@ -875,7 +875,7 @@ <pre class="programlisting"><span class="keyword">bool</span> <span class="identifier">is_none</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> result of <code class="computeroutput"><span class="special">(</span><span class="identifier">ptr</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">Py_None</span><span class="special">)</span></code> @@ -937,7 +937,7 @@ <pre class="programlisting"><span class="keyword">operator</span> <span class="identifier">object</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> applies <code class="computeroutput"><span class="identifier">Policies</span><span class="special">::</span><span class="identifier">get</span><span class="special">(</span><span class="identifier">target</span><span class="special">,</span> <span class="identifier">key</span><span class="special">)</span></code> with the proxy's target and key @@ -957,7 +957,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">Policies</span><span class="special">::</span><span class="identifier">set</span><span class="special">(</span><span class="identifier">target</span><span class="special">,</span> @@ -988,7 +988,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> for a given <code class="computeroutput"><span class="keyword">operator</span><span class="error">@</span><span class="special">=</span></code>, @@ -1003,7 +1003,7 @@ <pre class="programlisting"><span class="keyword">void</span> <span class="identifier">del</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Policies::del(target, key ) with the proxy's target and key objects. @@ -1020,7 +1020,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">x</span><span class="special">.</span><span class="identifier">del</span><span class="special">()</span></code> @@ -1036,7 +1036,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> returns the result of applying the operator to <code class="computeroutput"><span class="identifier">object</span><span class="special">(</span><span class="identifier">l</span><span class="special">)</span></code> and <code class="computeroutput"><span class="identifier">object</span><span class="special">(</span><span class="identifier">r</span><span class="special">)</span></code>, respectively, in Python. @@ -1056,7 +1056,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> returns the result of applying the operator to <code class="computeroutput"><span class="identifier">object</span><span class="special">(</span><span class="identifier">l</span><span class="special">)</span></code> and <code class="computeroutput"><span class="identifier">object</span><span class="special">(</span><span class="identifier">r</span><span class="special">)</span></code>, respectively, in Python. @@ -1076,7 +1076,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> assigns to <code class="computeroutput"><span class="identifier">l</span></code> the @@ -1093,7 +1093,7 @@ <pre class="programlisting"><span class="keyword">long</span> <span class="identifier">len</span><span class="special">(</span><span class="identifier">object</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">obj</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">PyObject_Length</span><span class="special">(</span><span class="identifier">obj</span><span class="special">.</span><span class="identifier">ptr</span><span class="special">())</span></code> diff --git a/libs/python/doc/html/reference/object_wrappers/boost_python_slice_hpp.html b/libs/python/doc/html/reference/object_wrappers/boost_python_slice_hpp.html index 4cf1c41c39..8c7136d6d4 100644 --- a/libs/python/doc/html/reference/object_wrappers/boost_python_slice_hpp.html +++ b/libs/python/doc/html/reference/object_wrappers/boost_python_slice_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/slice.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../object_wrappers.html" title="Chapter 3. Object Wrappers"> <link rel="prev" href="boost_python_str_hpp.html" title="boost/python/str.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="object_wrappers.boost_python_slice_hpp"></a><a class="link" href="boost_python_slice_hpp.html" title="boost/python/slice.hpp">boost/python/slice.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_slice_hpp.html#object_wrappers.boost_python_slice_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_slice_hpp.html#object_wrappers.boost_python_slice_hpp.class_slice">Class <code class="computeroutput"><span class="identifier">slice</span></code></a></span></dt> @@ -94,7 +94,7 @@ <pre class="programlisting"><span class="identifier">slice</span><span class="special">();</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> constructs a slice with default stop, start, and step values. Equivalent @@ -111,7 +111,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">start</span></code>, <code class="computeroutput"><span class="identifier">stop</span></code>, and <code class="computeroutput"><span class="identifier">step</span></code> @@ -138,7 +138,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">start</span></code>, <code class="computeroutput"><span class="identifier">stop</span></code>, and <code class="computeroutput"><span class="identifier">step</span></code> @@ -171,7 +171,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> None @@ -200,7 +200,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Arguments</span></dt> <dd><p> A pair of STL-conforming Random Access Iterators that form a half-open diff --git a/libs/python/doc/html/reference/object_wrappers/boost_python_str_hpp.html b/libs/python/doc/html/reference/object_wrappers/boost_python_str_hpp.html index 7e276dc19d..cc6ddc0699 100644 --- a/libs/python/doc/html/reference/object_wrappers/boost_python_str_hpp.html +++ b/libs/python/doc/html/reference/object_wrappers/boost_python_str_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/str.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../object_wrappers.html" title="Chapter 3. Object Wrappers"> <link rel="prev" href="boost_python_object_hpp.html" title="boost/python/object.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="object_wrappers.boost_python_str_hpp"></a><a class="link" href="boost_python_str_hpp.html" title="boost/python/str.hpp">boost/python/str.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_str_hpp.html#object_wrappers.boost_python_str_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_str_hpp.html#object_wrappers.boost_python_str_hpp.class_str">Class <code class="computeroutput"><span class="identifier">str</span></code></a></span></dt> diff --git a/libs/python/doc/html/reference/object_wrappers/boost_python_tuple_hpp.html b/libs/python/doc/html/reference/object_wrappers/boost_python_tuple_hpp.html index af3301563c..1538e9fc72 100644 --- a/libs/python/doc/html/reference/object_wrappers/boost_python_tuple_hpp.html +++ b/libs/python/doc/html/reference/object_wrappers/boost_python_tuple_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/tuple.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../object_wrappers.html" title="Chapter 3. Object Wrappers"> <link rel="prev" href="boost_python_slice_hpp.html" title="boost/python/slice.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="object_wrappers.boost_python_tuple_hpp"></a><a class="link" href="boost_python_tuple_hpp.html" title="boost/python/tuple.hpp">boost/python/tuple.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_tuple_hpp.html#object_wrappers.boost_python_tuple_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_tuple_hpp.html#object_wrappers.boost_python_tuple_hpp.class_tuple">Class <code class="computeroutput"><span class="identifier">tuple</span></code></a></span></dt> @@ -83,7 +83,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effect</span></dt> <dd><p> Constructs a new tuple object composed of <code class="computeroutput"><span class="identifier">object</span><span class="special">(</span><span class="identifier">a0</span><span class="special">),</span> <span class="identifier">object</span><span class="special">(</span><span class="identifier">a0</span><span class="special">),...</span><span class="identifier">object</span><span class="special">(</span><span class="identifier">an</span><span class="special">)</span></code>. diff --git a/libs/python/doc/html/reference/to_from_python_type_conversion.html b/libs/python/doc/html/reference/to_from_python_type_conversion.html index ebfb7b3c13..cad06fc050 100644 --- a/libs/python/doc/html/reference/to_from_python_type_conversion.html +++ b/libs/python/doc/html/reference/to_from_python_type_conversion.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter 5. To/From Python Type Conversion</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python Reference Manual"> <link rel="up" href="index.html" title="Boost.Python Reference Manual"> <link rel="prev" href="function_invocation_and_creation/models_of_resultconvertergenerat.html" title="Models of ResultConverterGenerator"> @@ -16,11 +16,11 @@ <a accesskey="p" href="function_invocation_and_creation/models_of_resultconvertergenerat.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="to_from_python_type_conversion/boost_python_implicit_hpp.html"><img src="../images/next.png" alt="Next"></a> </div> <div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="to_from_python_type_conversion"></a>Chapter 5. To/From Python Type Conversion</h2></div></div></div> +<div class="titlepage"><div><div><h1 class="title"> +<a name="to_from_python_type_conversion"></a>Chapter 5. To/From Python Type Conversion</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="section"><a href="to_from_python_type_conversion.html#to_from_python_type_conversion.boost_python_extract_hpp">boost/python/extract.hpp</a></span></dt> <dd><dl> <dt><span class="section"><a href="to_from_python_type_conversion.html#to_from_python_type_conversion.boost_python_extract_hpp.introduction">Introduction</a></span></dt> @@ -80,7 +80,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="to_from_python_type_conversion.boost_python_extract_hpp"></a><a class="link" href="to_from_python_type_conversion.html#to_from_python_type_conversion.boost_python_extract_hpp" title="boost/python/extract.hpp">boost/python/extract.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="to_from_python_type_conversion.html#to_from_python_type_conversion.boost_python_extract_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="to_from_python_type_conversion.html#to_from_python_type_conversion.boost_python_extract_hpp.class_template_extract">Class template <code class="computeroutput"><span class="identifier">extract</span></code></a></span></dt> @@ -160,7 +160,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> The first form requires that p is non-null. @@ -186,7 +186,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Converts the stored pointer to result_type, which is either T or @@ -209,7 +209,7 @@ <pre class="programlisting"><span class="keyword">bool</span> <span class="identifier">check</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Postconditions</span></dt> <dd><p> None. In particular, note that a return value of true does not preclude diff --git a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_implicit_hpp.html b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_implicit_hpp.html index 649cc3482b..692dd385e4 100644 --- a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_implicit_hpp.html +++ b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_implicit_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/implicit.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../to_from_python_type_conversion.html" title="Chapter 5. To/From Python Type Conversion"> <link rel="prev" href="../to_from_python_type_conversion.html" title="Chapter 5. To/From Python Type Conversion"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="to_from_python_type_conversion.boost_python_implicit_hpp"></a><a class="link" href="boost_python_implicit_hpp.html" title="boost/python/implicit.hpp">boost/python/implicit.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_implicit_hpp.html#to_from_python_type_conversion.boost_python_implicit_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_implicit_hpp.html#to_from_python_type_conversion.boost_python_implicit_hpp.function_template_implicit_conve">Function template <code class="computeroutput"><span class="identifier">implicit_convertible</span></code></a></span></dt> @@ -89,7 +89,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> The declaration <code class="computeroutput"><span class="identifier">Target</span> diff --git a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_lvalue_from_pytype_.html b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_lvalue_from_pytype_.html index 5a1ef55ff4..6ef85440a2 100644 --- a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_lvalue_from_pytype_.html +++ b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_lvalue_from_pytype_.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/lvalue_from_pytype.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../to_from_python_type_conversion.html" title="Chapter 5. To/From Python Type Conversion"> <link rel="prev" href="boost_python_implicit_hpp.html" title="boost/python/implicit.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="to_from_python_type_conversion.boost_python_lvalue_from_pytype_"></a><a class="link" href="boost_python_lvalue_from_pytype_.html" title="boost/python/lvalue_from_pytype.hpp">boost/python/lvalue_from_pytype.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_lvalue_from_pytype_.html#to_from_python_type_conversion.boost_python_lvalue_from_pytype_.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_lvalue_from_pytype_.html#to_from_python_type_conversion.boost_python_lvalue_from_pytype_.class_template_lvalue_from_pytyp">Class template <code class="computeroutput"><span class="identifier">lvalue_from_pytype</span></code></a></span></dt> @@ -44,7 +44,7 @@ <a name="to_from_python_type_conversion.boost_python_lvalue_from_pytype_.class_template_lvalue_from_pytyp"></a><a class="link" href="boost_python_lvalue_from_pytype_.html#to_from_python_type_conversion.boost_python_lvalue_from_pytype_.class_template_lvalue_from_pytyp" title="Class template lvalue_from_pytype">Class template <code class="computeroutput"><span class="identifier">lvalue_from_pytype</span></code></a> </h3></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="boost_python_lvalue_from_pytype_.html#to_from_python_type_conversion.boost_python_lvalue_from_pytype_.class_template_lvalue_from_pytyp.class_template_lvalue_from_pytyp">Class +<div class="toc"><dl class="toc"><dt><span class="section"><a href="boost_python_lvalue_from_pytype_.html#to_from_python_type_conversion.boost_python_lvalue_from_pytype_.class_template_lvalue_from_pytyp.class_template_lvalue_from_pytyp">Class template <code class="computeroutput"><span class="identifier">lvalue_from_pytype</span></code> constructor</a></span></dt></dl></div> <p> @@ -135,7 +135,7 @@ <pre class="programlisting"><span class="identifier">lvalue_from_pytype</span><span class="special">();</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Registers converters which can convert Python objects of the given @@ -150,7 +150,7 @@ <a name="to_from_python_type_conversion.boost_python_lvalue_from_pytype_.class_template_extract_identity"></a><a class="link" href="boost_python_lvalue_from_pytype_.html#to_from_python_type_conversion.boost_python_lvalue_from_pytype_.class_template_extract_identity" title="Class template extract_identity">Class template <code class="computeroutput"><span class="identifier">extract_identity</span></code></a> </h3></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="boost_python_lvalue_from_pytype_.html#to_from_python_type_conversion.boost_python_lvalue_from_pytype_.class_template_extract_identity.class_template_extract_identity_">Class +<div class="toc"><dl class="toc"><dt><span class="section"><a href="boost_python_lvalue_from_pytype_.html#to_from_python_type_conversion.boost_python_lvalue_from_pytype_.class_template_extract_identity.class_template_extract_identity_">Class template <code class="computeroutput"><span class="identifier">extract_identity</span></code> static functions</a></span></dt></dl></div> <p> @@ -176,7 +176,7 @@ <pre class="programlisting"><span class="identifier">InstanceType</span><span class="special">&</span> <span class="identifier">execute</span><span class="special">(</span><span class="identifier">InstanceType</span><span class="special">&</span> <span class="identifier">c</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> c @@ -190,7 +190,7 @@ <a name="to_from_python_type_conversion.boost_python_lvalue_from_pytype_.class_template_extract_member"></a><a class="link" href="boost_python_lvalue_from_pytype_.html#to_from_python_type_conversion.boost_python_lvalue_from_pytype_.class_template_extract_member" title="Class template extract_member">Class template <code class="computeroutput"><span class="identifier">extract_member</span></code></a> </h3></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="boost_python_lvalue_from_pytype_.html#to_from_python_type_conversion.boost_python_lvalue_from_pytype_.class_template_extract_member.class_template_extract_member_st">Class +<div class="toc"><dl class="toc"><dt><span class="section"><a href="boost_python_lvalue_from_pytype_.html#to_from_python_type_conversion.boost_python_lvalue_from_pytype_.class_template_extract_member.class_template_extract_member_st">Class template <code class="computeroutput"><span class="identifier">extract_member</span></code> static functions</a></span></dt></dl></div> <p> @@ -217,7 +217,7 @@ <pre class="programlisting"><span class="keyword">static</span> <span class="identifier">MemberType</span><span class="special">&</span> <span class="identifier">execute</span><span class="special">(</span><span class="identifier">InstanceType</span><span class="special">&</span> <span class="identifier">c</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">c</span><span class="special">.*</span><span class="identifier">member</span></code> diff --git a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_opaque_pointer_conv.html b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_opaque_pointer_conv.html index 1225e1e9ee..548f67843a 100644 --- a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_opaque_pointer_conv.html +++ b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_opaque_pointer_conv.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/opaque_pointer_converter.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../to_from_python_type_conversion.html" title="Chapter 5. To/From Python Type Conversion"> <link rel="prev" href="boost_python_lvalue_from_pytype_.html" title="boost/python/lvalue_from_pytype.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="to_from_python_type_conversion.boost_python_opaque_pointer_conv"></a><a class="link" href="boost_python_opaque_pointer_conv.html" title="boost/python/opaque_pointer_converter.hpp">boost/python/opaque_pointer_converter.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_opaque_pointer_conv.html#to_from_python_type_conversion.boost_python_opaque_pointer_conv.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_opaque_pointer_conv.html#to_from_python_type_conversion.boost_python_opaque_pointer_conv.class_template_opaque_constructo">Class template <code class="computeroutput"><span class="identifier">opaque</span></code> constructor</a></span></dt> @@ -53,9 +53,9 @@ <pre class="programlisting"><span class="identifier">opaque</span><span class="special">();</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> -<dd><div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<dd><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Registers the instance as a <a class="link" href="boost_python_lvalue_from_pytype_.html#to_from_python_type_conversion.boost_python_lvalue_from_pytype_.class_template_lvalue_from_pytyp" title="Class template lvalue_from_pytype"><code class="computeroutput"><span class="identifier">lvalue_from_pytype</span></code></a> converter from Python objects into opaque pointers. The Python Objects diff --git a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_register_ptr_to_pyt.html b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_register_ptr_to_pyt.html index 7d22b928a5..867ebc9cd6 100644 --- a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_register_ptr_to_pyt.html +++ b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_register_ptr_to_pyt.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/register_ptr_to_python.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../to_from_python_type_conversion.html" title="Chapter 5. To/From Python Type Conversion"> <link rel="prev" href="boost_python_to_python_converter.html" title="boost/python/to_python_converter.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="to_from_python_type_conversion.boost_python_register_ptr_to_pyt"></a><a class="link" href="boost_python_register_ptr_to_pyt.html" title="boost/python/register_ptr_to_python.hpp">boost/python/register_ptr_to_python.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_register_ptr_to_pyt.html#to_from_python_type_conversion.boost_python_register_ptr_to_pyt.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_register_ptr_to_pyt.html#to_from_python_type_conversion.boost_python_register_ptr_to_pyt.function_register_ptr_to_python">Function <code class="computeroutput"><span class="identifier">register_ptr_to_python</span></code></a></span></dt> @@ -58,7 +58,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">P</span></code> is <a class="link" href="../concepts/dereferenceable.html" title="Dereferenceable">Dereferenceable</a>. diff --git a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_to_python_converter.html b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_to_python_converter.html index 4132e379f1..fbc7e43a7a 100644 --- a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_to_python_converter.html +++ b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_to_python_converter.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/to_python_converter.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../to_from_python_type_conversion.html" title="Chapter 5. To/From Python Type Conversion"> <link rel="prev" href="boost_python_opaque_pointer_conv.html" title="boost/python/opaque_pointer_converter.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="to_from_python_type_conversion.boost_python_to_python_converter"></a><a class="link" href="boost_python_to_python_converter.html" title="boost/python/to_python_converter.hpp">boost/python/to_python_converter.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_to_python_converter.html#to_from_python_type_conversion.boost_python_to_python_converter.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_to_python_converter.html#to_from_python_type_conversion.boost_python_to_python_converter.class_template_to_python_convert">Class template <code class="computeroutput"><span class="identifier">to_python_converter</span></code></a></span></dt> @@ -39,7 +39,7 @@ <a name="to_from_python_type_conversion.boost_python_to_python_converter.class_template_to_python_convert"></a><a class="link" href="boost_python_to_python_converter.html#to_from_python_type_conversion.boost_python_to_python_converter.class_template_to_python_convert" title="Class template to_python_converter">Class template <code class="computeroutput"><span class="identifier">to_python_converter</span></code></a> </h3></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="boost_python_to_python_converter.html#to_from_python_type_conversion.boost_python_to_python_converter.class_template_to_python_convert.class_template_to_python_convert">Class +<div class="toc"><dl class="toc"><dt><span class="section"><a href="boost_python_to_python_converter.html#to_from_python_type_conversion.boost_python_to_python_converter.class_template_to_python_convert.class_template_to_python_convert">Class template <code class="computeroutput"><span class="identifier">to_python_converter</span></code> constructor</a></span></dt></dl></div> <p> @@ -159,7 +159,7 @@ <pre class="programlisting"><span class="identifier">to_python_converter</span><span class="special">();</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Registers a <code class="computeroutput"><span class="identifier">to_python</span></code> diff --git a/libs/python/doc/html/reference/topics.html b/libs/python/doc/html/reference/topics.html index 3d19f90db8..d1a2587495 100644 --- a/libs/python/doc/html/reference/topics.html +++ b/libs/python/doc/html/reference/topics.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter 8. Topics</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python Reference Manual"> <link rel="up" href="index.html" title="Boost.Python Reference Manual"> <link rel="prev" href="utility_and_infrastructure/boost_python_ssize_t_hpp.html" title="boost/python/ssize_t.hpp"> @@ -16,11 +16,11 @@ <a accesskey="p" href="utility_and_infrastructure/boost_python_ssize_t_hpp.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="topics/pickle_support.html"><img src="../images/next.png" alt="Next"></a> </div> <div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="topics"></a>Chapter 8. Topics</h2></div></div></div> +<div class="titlepage"><div><div><h1 class="title"> +<a name="topics"></a>Chapter 8. Topics</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="section"><a href="topics.html#topics.calling_python_functions_and_met">Calling Python Functions and Methods</a></span></dt> <dd><dl> @@ -63,7 +63,7 @@ <a name="topics.calling_python_functions_and_met"></a><a class="link" href="topics.html#topics.calling_python_functions_and_met" title="Calling Python Functions and Methods">Calling Python Functions and Methods</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="topics.html#topics.calling_python_functions_and_met.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="topics.html#topics.calling_python_functions_and_met.argument_handling">Argument Handling</a></span></dt> diff --git a/libs/python/doc/html/reference/topics/indexing_support.html b/libs/python/doc/html/reference/topics/indexing_support.html index 2738bb043d..42370f5f34 100644 --- a/libs/python/doc/html/reference/topics/indexing_support.html +++ b/libs/python/doc/html/reference/topics/indexing_support.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Indexing support</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../topics.html" title="Chapter 8. Topics"> <link rel="prev" href="pickle_support.html" title="Pickle support"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="topics.indexing_support"></a><a class="link" href="indexing_support.html" title="Indexing support">Indexing support</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="indexing_support.html#topics.indexing_support.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="indexing_support.html#topics.indexing_support.the_indexing_interface">The Indexing Interface</a></span></dt> @@ -57,7 +57,7 @@ <p> The goals: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Make indexable C++ containers behave exactly as one would expect a Python container to behave. @@ -112,7 +112,7 @@ </p> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">__len__(self)</span></dt> <dd><p> Called to implement the built-in function <code class="computeroutput"><span class="identifier">len</span><span class="special">()</span></code>. Should return the length of the @@ -182,7 +182,7 @@ <a name="topics.indexing_support.index_suite_sub_classes"></a><a class="link" href="indexing_support.html#topics.indexing_support.index_suite_sub_classes" title="index_suite sub-classes">index_suite sub-classes</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="indexing_support.html#topics.indexing_support.index_suite_sub_classes.vector_index_suite">vector_index_suite</a></span></dt> <dt><span class="section"><a href="indexing_support.html#topics.indexing_support.index_suite_sub_classes.map_index_suite">map_index_suite</a></span></dt> </dl></div> @@ -254,7 +254,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="topics.indexing_support.indexing_suite_class"></a><a class="link" href="indexing_support.html#topics.indexing_support.indexing_suite_class" title="indexing_suite class"><code class="computeroutput"><span class="identifier">indexing_suite</span></code> class</a> </h3></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="indexing_support.html#topics.indexing_support.indexing_suite_class.derivedpolicies">DerivedPolicies</a></span></dt></dl></div> +<div class="toc"><dl class="toc"><dt><span class="section"><a href="indexing_support.html#topics.indexing_support.indexing_suite_class.derivedpolicies">DerivedPolicies</a></span></dt></dl></div> <div class="informaltable"><table class="table"> <colgroup> <col> diff --git a/libs/python/doc/html/reference/topics/pickle_support.html b/libs/python/doc/html/reference/topics/pickle_support.html index d2d6befd59..5731f1d0b5 100644 --- a/libs/python/doc/html/reference/topics/pickle_support.html +++ b/libs/python/doc/html/reference/topics/pickle_support.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Pickle support</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../topics.html" title="Chapter 8. Topics"> <link rel="prev" href="../topics.html" title="Chapter 8. Topics"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="topics.pickle_support"></a><a class="link" href="pickle_support.html" title="Pickle support">Pickle support</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="pickle_support.html#topics.pickle_support.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="pickle_support.html#topics.pickle_support.the_pickle_interface">The Pickle Interface</a></span></dt> @@ -67,7 +67,7 @@ </p> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">__getinitargs__</span></dt> <dd> <p> @@ -119,7 +119,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="topics.pickle_support.example"></a><a class="link" href="pickle_support.html#topics.pickle_support.example" title="Example">Example</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="pickle_support.html#topics.pickle_support.example.pickle1_cpp">pickle1.cpp</a></span></dt> <dt><span class="section"><a href="pickle_support.html#topics.pickle_support.example.pickle2_cpp">pickle2.cpp</a></span></dt> <dt><span class="section"><a href="pickle_support.html#topics.pickle_support.example.pickle3_cpp">pickle3.cpp</a></span></dt> @@ -285,7 +285,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="topics.pickle_support.practical_advice"></a><a class="link" href="pickle_support.html#topics.pickle_support.practical_advice" title="Practical Advice">Practical Advice</a> </h3></div></div></div> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> In <code class="computeroutput"><span class="identifier">Boost</span><span class="special">.</span><span class="identifier">Python</span></code> extension modules with many extension classes, providing complete pickle support for all classes diff --git a/libs/python/doc/html/reference/utility_and_infrastructure.html b/libs/python/doc/html/reference/utility_and_infrastructure.html index b1e6a1bcb8..b053494d29 100644 --- a/libs/python/doc/html/reference/utility_and_infrastructure.html +++ b/libs/python/doc/html/reference/utility_and_infrastructure.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter 7. Utility and Infrastructure</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python Reference Manual"> <link rel="up" href="index.html" title="Boost.Python Reference Manual"> <link rel="prev" href="embedding/boost_python_import_hpp.html" title="boost/python/import.hpp"> @@ -16,11 +16,11 @@ <a accesskey="p" href="embedding/boost_python_import_hpp.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="utility_and_infrastructure/boost_python_instance_holder_hpp.html"><img src="../images/next.png" alt="Next"></a> </div> <div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="utility_and_infrastructure"></a>Chapter 7. Utility and Infrastructure</h2></div></div></div> +<div class="titlepage"><div><div><h1 class="title"> +<a name="utility_and_infrastructure"></a>Chapter 7. Utility and Infrastructure</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="section"><a href="utility_and_infrastructure.html#utility_and_infrastructure.boost_python_has_back_reference_">boost/python/has_back_reference.hpp</a></span></dt> <dd><dl> <dt><span class="section"><a href="utility_and_infrastructure.html#utility_and_infrastructure.boost_python_has_back_reference_.introduction">Introduction</a></span></dt> @@ -72,7 +72,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="utility_and_infrastructure.boost_python_has_back_reference_"></a><a class="link" href="utility_and_infrastructure.html#utility_and_infrastructure.boost_python_has_back_reference_" title="boost/python/has_back_reference.hpp">boost/python/has_back_reference.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="utility_and_infrastructure.html#utility_and_infrastructure.boost_python_has_back_reference_.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="utility_and_infrastructure.html#utility_and_infrastructure.boost_python_has_back_reference_.class_template_has_back_referenc">Class template <code class="computeroutput"><span class="identifier">has_back_reference</span></code></a></span></dt> diff --git a/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_handle_hpp.html b/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_handle_hpp.html index a4a75a2881..16ce2c27ce 100644 --- a/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_handle_hpp.html +++ b/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_handle_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/handle.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../utility_and_infrastructure.html" title="Chapter 7. Utility and Infrastructure"> <link rel="prev" href="boost_python_pointee_hpp.html" title="boost/python/pointee.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="utility_and_infrastructure.boost_python_handle_hpp"></a><a class="link" href="boost_python_handle_hpp.html" title="boost/python/handle.hpp">boost/python/handle.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_handle_hpp.html#utility_and_infrastructure.boost_python_handle_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_handle_hpp.html#utility_and_infrastructure.boost_python_handle_hpp.class_template_handle">Class template <code class="computeroutput"><span class="identifier">handle</span></code></a></span></dt> @@ -42,7 +42,7 @@ <a name="utility_and_infrastructure.boost_python_handle_hpp.class_template_handle"></a><a class="link" href="boost_python_handle_hpp.html#utility_and_infrastructure.boost_python_handle_hpp.class_template_handle" title="Class template handle">Class template <code class="computeroutput"><span class="identifier">handle</span></code></a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_handle_hpp.html#utility_and_infrastructure.boost_python_handle_hpp.class_template_handle.class_template_handle_constructo">Class template <code class="computeroutput"><span class="identifier">handle</span></code> constructors and destructor</a></span></dt> @@ -135,7 +135,7 @@ <pre class="programlisting"><span class="keyword">virtual</span> <span class="special">~</span><span class="identifier">handle</span><span class="special">();</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">Py_XDECREF</span><span class="special">(</span><span class="identifier">upcast</span><span class="special"><</span><span class="identifier">PyObject</span><span class="special">*>(</span><span class="identifier">m_p</span><span class="special">))</span></code> @@ -147,7 +147,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><pre class="programlisting"><span class="identifier">Py_XINCREF</span><span class="special">(</span><span class="identifier">upcast</span><span class="special"><</span><span class="identifier">PyObject</span><span class="special">*>(</span><span class="identifier">p</span><span class="special">));</span> <span class="identifier">m_p</span> <span class="special">=</span> <span class="identifier">upcast</span><span class="special"><</span><span class="identifier">T</span><span class="special">*>(</span><span class="identifier">p</span><span class="special">);</span> @@ -158,7 +158,7 @@ <span class="keyword">explicit</span> <span class="identifier">handle</span><span class="special">(</span><span class="identifier">null_ok</span><span class="special"><</span><span class="identifier">detail</span><span class="special">::</span><span class="identifier">borrowed</span><span class="special"><</span><span class="identifier">Y</span><span class="special">></span> <span class="special">>*</span> <span class="identifier">p</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><pre class="programlisting"><span class="identifier">Py_XINCREF</span><span class="special">(</span><span class="identifier">upcast</span><span class="special"><</span><span class="identifier">PyObject</span><span class="special">*>(</span><span class="identifier">p</span><span class="special">));</span> <span class="identifier">m_p</span> <span class="special">=</span> <span class="identifier">upcast</span><span class="special"><</span><span class="identifier">T</span><span class="special">*>(</span><span class="identifier">p</span><span class="special">);</span> @@ -169,7 +169,7 @@ <span class="keyword">explicit</span> <span class="identifier">handle</span><span class="special">(</span><span class="identifier">detail</span><span class="special">::</span><span class="identifier">borrowed</span><span class="special"><</span><span class="identifier">Y</span><span class="special">>*</span> <span class="identifier">p</span><span class="special">);</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><pre class="programlisting"><span class="identifier">Py_XINCREF</span><span class="special">(</span><span class="identifier">upcast</span><span class="special"><</span><span class="identifier">PyObject</span><span class="special">*>(</span><span class="identifier">p</span><span class="special">));</span> <span class="identifier">m_p</span> <span class="special">=</span> <span class="identifier">upcast</span><span class="special"><</span><span class="identifier">T</span><span class="special">*>(</span><span class="identifier">expect_non_null</span><span class="special">(</span><span class="identifier">p</span><span class="special">));</span> @@ -181,7 +181,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">m_p</span> <span class="special">=</span> @@ -194,7 +194,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">m_p</span> <span class="special">=</span> @@ -206,7 +206,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">m_p</span> <span class="special">=</span> @@ -220,7 +220,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> m_p = r.m_p; Py_XINCREF(upcast<PyObject*>(m_p)); @@ -239,7 +239,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">Py_XINCREF</span><span class="special">(</span><span class="identifier">upcast</span><span class="special"><</span><span class="identifier">PyObject</span><span class="special">*>(</span><span class="identifier">r</span><span class="special">.</span><span class="identifier">m_p</span><span class="special">));</span> @@ -254,7 +254,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span><span class="special">*</span> @@ -270,7 +270,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span> @@ -289,7 +289,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">m_p</span><span class="special">;</span></code> @@ -300,7 +300,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> <code class="computeroutput"><span class="special">*</span><span class="identifier">m_p</span><span class="special">;</span></code> @@ -311,7 +311,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> <code class="computeroutput"><span class="number">0</span></code> if <code class="computeroutput"><span class="identifier">m_p</span> <span class="special">==</span> diff --git a/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_instance_holder_hpp.html b/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_instance_holder_hpp.html index 519de36232..18a3b95721 100644 --- a/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_instance_holder_hpp.html +++ b/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_instance_holder_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/instance_holder.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../utility_and_infrastructure.html" title="Chapter 7. Utility and Infrastructure"> <link rel="prev" href="../utility_and_infrastructure.html" title="Chapter 7. Utility and Infrastructure"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="utility_and_infrastructure.boost_python_instance_holder_hpp"></a><a class="link" href="boost_python_instance_holder_hpp.html" title="boost/python/instance_holder.hpp">boost/python/instance_holder.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_instance_holder_hpp.html#utility_and_infrastructure.boost_python_instance_holder_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_instance_holder_hpp.html#utility_and_infrastructure.boost_python_instance_holder_hpp.class_template_instance_holder">Class template <code class="computeroutput"><span class="identifier">instance_holder</span></code></a></span></dt> @@ -39,7 +39,7 @@ <a name="utility_and_infrastructure.boost_python_instance_holder_hpp.class_template_instance_holder"></a><a class="link" href="boost_python_instance_holder_hpp.html#utility_and_infrastructure.boost_python_instance_holder_hpp.class_template_instance_holder" title="Class template instance_holder">Class template <code class="computeroutput"><span class="identifier">instance_holder</span></code></a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_instance_holder_hpp.html#utility_and_infrastructure.boost_python_instance_holder_hpp.class_template_instance_holder.class_intance_holder_destructor">Class <code class="computeroutput"><span class="identifier">intance_holder</span></code> destructor</a></span></dt> <dt><span class="section"><a href="boost_python_instance_holder_hpp.html#utility_and_infrastructure.boost_python_instance_holder_hpp.class_template_instance_holder.class_intance_holder_modifiers">Class @@ -90,7 +90,7 @@ <pre class="programlisting"><span class="keyword">virtual</span> <span class="special">~</span><span class="identifier">instance_holder</span><span class="special">();</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> destroys the object @@ -106,7 +106,7 @@ <pre class="programlisting"><span class="keyword">void</span> <span class="identifier">install</span><span class="special">(</span><span class="identifier">PyObject</span><span class="special">*</span> <span class="identifier">inst</span><span class="special">)</span> <span class="keyword">throw</span><span class="special">();</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">inst</span></code> is a Python @@ -133,7 +133,7 @@ <pre class="programlisting"><span class="keyword">virtual</span> <span class="keyword">void</span> <span class="special">*</span><span class="identifier">holds</span><span class="special">(</span><span class="identifier">type_info</span> <span class="identifier">x</span><span class="special">)</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> A pointer to an object of the type described by <code class="computeroutput"><span class="identifier">x</span></code> diff --git a/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_pointee_hpp.html b/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_pointee_hpp.html index 4e047bd629..e3f1b23af0 100644 --- a/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_pointee_hpp.html +++ b/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_pointee_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/pointee.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../utility_and_infrastructure.html" title="Chapter 7. Utility and Infrastructure"> <link rel="prev" href="boost_python_instance_holder_hpp.html" title="boost/python/instance_holder.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="utility_and_infrastructure.boost_python_pointee_hpp"></a><a class="link" href="boost_python_pointee_hpp.html" title="boost/python/pointee.hpp">boost/python/pointee.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_pointee_hpp.html#utility_and_infrastructure.boost_python_pointee_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_pointee_hpp.html#utility_and_infrastructure.boost_python_pointee_hpp.class_template_pointee">Class template <code class="computeroutput"><span class="identifier">pointee</span></code></a></span></dt> diff --git a/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_ssize_t_hpp.html b/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_ssize_t_hpp.html index ecfa8a00fe..277638acf9 100644 --- a/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_ssize_t_hpp.html +++ b/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_ssize_t_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/ssize_t.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../utility_and_infrastructure.html" title="Chapter 7. Utility and Infrastructure"> <link rel="prev" href="boost_python_type_id_hpp.html" title="boost/python/type_id.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="utility_and_infrastructure.boost_python_ssize_t_hpp"></a><a class="link" href="boost_python_ssize_t_hpp.html" title="boost/python/ssize_t.hpp">boost/python/ssize_t.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_ssize_t_hpp.html#utility_and_infrastructure.boost_python_ssize_t_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_ssize_t_hpp.html#utility_and_infrastructure.boost_python_ssize_t_hpp.typedefs">Typedefs</a></span></dt> <dt><span class="section"><a href="boost_python_ssize_t_hpp.html#utility_and_infrastructure.boost_python_ssize_t_hpp.constants">Constants</a></span></dt> diff --git a/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_type_id_hpp.html b/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_type_id_hpp.html index 3e87874885..7949d1b33a 100644 --- a/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_type_id_hpp.html +++ b/libs/python/doc/html/reference/utility_and_infrastructure/boost_python_type_id_hpp.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>boost/python/type_id.hpp</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Reference Manual"> <link rel="up" href="../utility_and_infrastructure.html" title="Chapter 7. Utility and Infrastructure"> <link rel="prev" href="boost_python_handle_hpp.html" title="boost/python/handle.hpp"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="utility_and_infrastructure.boost_python_type_id_hpp"></a><a class="link" href="boost_python_type_id_hpp.html" title="boost/python/type_id.hpp">boost/python/type_id.hpp</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_type_id_hpp.html#utility_and_infrastructure.boost_python_type_id_hpp.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="boost_python_type_id_hpp.html#utility_and_infrastructure.boost_python_type_id_hpp.class_template_type_info">Class template <code class="computeroutput"><span class="identifier">type_info</span></code></a></span></dt> @@ -42,7 +42,7 @@ <a name="utility_and_infrastructure.boost_python_type_id_hpp.class_template_type_info"></a><a class="link" href="boost_python_type_id_hpp.html#utility_and_infrastructure.boost_python_type_id_hpp.class_template_type_info" title="Class template type_info">Class template <code class="computeroutput"><span class="identifier">type_info</span></code></a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="boost_python_type_id_hpp.html#utility_and_infrastructure.boost_python_type_id_hpp.class_template_type_info.class_template_type_info_constru">Class template <code class="computeroutput"><span class="identifier">type_info</span></code> constructor</a></span></dt> <dt><span class="section"><a href="boost_python_type_id_hpp.html#utility_and_infrastructure.boost_python_type_id_hpp.class_template_type_info.class_template_type_info_compari">Class @@ -84,7 +84,7 @@ <pre class="programlisting"><span class="identifier">type_info</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">type_info</span> <span class="keyword">const</span><span class="special">&</span> <span class="special">=</span> <span class="keyword">typeid</span><span class="special">(</span><span class="keyword">void</span><span class="special">));</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> constructs a <code class="computeroutput"><span class="identifier">type_info</span></code> @@ -107,7 +107,7 @@ <pre class="programlisting"><span class="keyword">bool</span> <span class="keyword">operator</span><span class="special"><(</span><span class="identifier">type_info</span> <span class="keyword">const</span> <span class="special">&</span><span class="identifier">rhs</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> yields a total order over <code class="computeroutput"><span class="identifier">type_info</span></code> @@ -118,7 +118,7 @@ <pre class="programlisting"><span class="keyword">bool</span> <span class="keyword">operator</span><span class="special">==(</span><span class="identifier">type_info</span> <span class="keyword">const</span> <span class="special">&</span><span class="identifier">rhs</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> iff the two values @@ -142,7 +142,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> The result of calling <code class="computeroutput"><span class="identifier">name</span><span class="special">()</span></code> on the argument used to construct @@ -160,7 +160,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects</span></dt> <dd><p> Writes a description of the type described by to <code class="computeroutput"><span class="identifier">x</span></code> @@ -184,7 +184,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">type_info</span><span class="special">(</span><span class="keyword">typeid</span><span class="special">(</span><span class="identifier">T</span><span class="special">))</span></code> diff --git a/libs/python/doc/html/support.html b/libs/python/doc/html/support.html index 4091007886..5cd50064ad 100644 --- a/libs/python/doc/html/support.html +++ b/libs/python/doc/html/support.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter 3. Support Resources</title> <link rel="stylesheet" href="boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python"> <link rel="up" href="index.html" title="Boost.Python"> <link rel="prev" href="configuration.html" title="Chapter 2. Configuration"> @@ -16,11 +16,11 @@ <a accesskey="p" href="configuration.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="faq.html"><img src="images/next.png" alt="Next"></a> </div> <div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="support"></a>Chapter 3. Support Resources</h2></div></div></div> +<div class="titlepage"><div><div><h1 class="title"> +<a name="support"></a>Chapter 3. Support Resources</h1></div></div></div> <h3> <a name="support.h0"></a> - <span><a name="support.synopsis"></a></span><a class="link" href="support.html#support.synopsis">Synopsis</a> + <span class="phrase"><a name="support.synopsis"></a></span><a class="link" href="support.html#support.synopsis">Synopsis</a> </h3> <p> This is a list of available resources for support with Boost.Python problems @@ -30,9 +30,9 @@ </p> <h3> <a name="support.h1"></a> - <span><a name="support.support"></a></span><a class="link" href="support.html#support.support">Support</a> + <span class="phrase"><a name="support.support"></a></span><a class="link" href="support.html#support.support">Support</a> </h3> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> The <a href="http://www.boost.org/more/mailing_lists.htm#cplussig" target="_top">Boost.Python mailing list</a> is a forum for discussing Python/C++ interoperability, diff --git a/libs/python/doc/html/tutorial/index.html b/libs/python/doc/html/tutorial/index.html index 9c653928f7..d557f04ef8 100644 --- a/libs/python/doc/html/tutorial/index.html +++ b/libs/python/doc/html/tutorial/index.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Boost.Python Tutorial</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Boost.Python Tutorial"> <link rel="next" href="tutorial/hello.html" title="Building Hello World"> </head> @@ -37,7 +37,7 @@ </div> <div class="toc"> <p><b>Table of Contents</b></p> -<dl> +<dl class="toc"> <dt><span class="section"><a href="index.html#tutorial.quickstart">QuickStart</a></span></dt> <dt><span class="section"><a href="tutorial/hello.html">Building Hello World</a></span></dt> <dt><span class="section"><a href="tutorial/exposing.html">Exposing Classes</a></span></dt> @@ -102,7 +102,7 @@ </p> <h3> <a name="tutorial.quickstart.h0"></a> - <span><a name="tutorial.quickstart.hello_world"></a></span><a class="link" href="index.html#tutorial.quickstart.hello_world">Hello + <span class="phrase"><a name="tutorial.quickstart.hello_world"></a></span><a class="link" href="index.html#tutorial.quickstart.hello_world">Hello World</a> </h3> <p> @@ -140,7 +140,7 @@ </div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> -<td align="left"><p><small>Last revised: May 05, 2016 at 21:25:21 GMT</small></p></td> +<td align="left"><p><small>Last revised: September 21, 2016 at 14:37:40 GMT</small></p></td> <td align="right"><div class="copyright-footer"></div></td> </tr></table> <hr> diff --git a/libs/python/doc/html/tutorial/tutorial/embedding.html b/libs/python/doc/html/tutorial/tutorial/embedding.html index dc5d2218ad..1446260bd4 100644 --- a/libs/python/doc/html/tutorial/tutorial/embedding.html +++ b/libs/python/doc/html/tutorial/tutorial/embedding.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Embedding</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Tutorial"> <link rel="up" href="../index.html" title="Boost.Python Tutorial"> <link rel="prev" href="object.html" title="Object Interface"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="tutorial.embedding"></a><a class="link" href="embedding.html" title="Embedding">Embedding</a> </h2></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="embedding.html#tutorial.embedding.using_the_interpreter">Using the interpreter</a></span></dt></dl></div> +<div class="toc"><dl class="toc"><dt><span class="section"><a href="embedding.html#tutorial.embedding.using_the_interpreter">Using the interpreter</a></span></dt></dl></div> <p> By now you should know how to use Boost.Python to call your C++ code from Python. However, sometimes you may need to do the reverse: call Python code from the @@ -35,7 +35,7 @@ </p> <h3> <a name="tutorial.embedding.h0"></a> - <span><a name="tutorial.embedding.building_embedded_programs"></a></span><a class="link" href="embedding.html#tutorial.embedding.building_embedded_programs">Building + <span class="phrase"><a name="tutorial.embedding.building_embedded_programs"></a></span><a class="link" href="embedding.html#tutorial.embedding.building_embedded_programs">Building embedded programs</a> </h3> <p> @@ -78,7 +78,7 @@ exe embedded_program # name of the executable </pre> <h3> <a name="tutorial.embedding.h1"></a> - <span><a name="tutorial.embedding.getting_started"></a></span><a class="link" href="embedding.html#tutorial.embedding.getting_started">Getting + <span class="phrase"><a name="tutorial.embedding.getting_started"></a></span><a class="link" href="embedding.html#tutorial.embedding.getting_started">Getting started</a> </h3> <p> @@ -130,7 +130,7 @@ exe embedded_program # name of the executable </p> <h3> <a name="tutorial.embedding.using_the_interpreter.h0"></a> - <span><a name="tutorial.embedding.using_the_interpreter.running_python_code"></a></span><a class="link" href="embedding.html#tutorial.embedding.using_the_interpreter.running_python_code">Running + <span class="phrase"><a name="tutorial.embedding.using_the_interpreter.running_python_code"></a></span><a class="link" href="embedding.html#tutorial.embedding.using_the_interpreter.running_python_code">Running Python code</a> </h3> <p> @@ -178,7 +178,7 @@ exe embedded_program # name of the executable </p> <h3> <a name="tutorial.embedding.using_the_interpreter.h1"></a> - <span><a name="tutorial.embedding.using_the_interpreter.manipulating_python_objects"></a></span><a class="link" href="embedding.html#tutorial.embedding.using_the_interpreter.manipulating_python_objects">Manipulating + <span class="phrase"><a name="tutorial.embedding.using_the_interpreter.manipulating_python_objects"></a></span><a class="link" href="embedding.html#tutorial.embedding.using_the_interpreter.manipulating_python_objects">Manipulating Python objects</a> </h3> <p> @@ -204,7 +204,7 @@ exe embedded_program # name of the executable </pre> <h3> <a name="tutorial.embedding.using_the_interpreter.h2"></a> - <span><a name="tutorial.embedding.using_the_interpreter.exception_handling"></a></span><a class="link" href="embedding.html#tutorial.embedding.using_the_interpreter.exception_handling">Exception + <span class="phrase"><a name="tutorial.embedding.using_the_interpreter.exception_handling"></a></span><a class="link" href="embedding.html#tutorial.embedding.using_the_interpreter.exception_handling">Exception handling</a> </h3> <p> diff --git a/libs/python/doc/html/tutorial/tutorial/exception.html b/libs/python/doc/html/tutorial/tutorial/exception.html index 44437434dd..e66c566a5a 100644 --- a/libs/python/doc/html/tutorial/tutorial/exception.html +++ b/libs/python/doc/html/tutorial/tutorial/exception.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Exception Translation</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Tutorial"> <link rel="up" href="../index.html" title="Boost.Python Tutorial"> <link rel="prev" href="iterators.html" title="Iterators"> diff --git a/libs/python/doc/html/tutorial/tutorial/exposing.html b/libs/python/doc/html/tutorial/tutorial/exposing.html index f870c67ac3..00ebbd52c3 100644 --- a/libs/python/doc/html/tutorial/tutorial/exposing.html +++ b/libs/python/doc/html/tutorial/tutorial/exposing.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Exposing Classes</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Tutorial"> <link rel="up" href="../index.html" title="Boost.Python Tutorial"> <link rel="prev" href="hello.html" title="Building Hello World"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="tutorial.exposing"></a><a class="link" href="exposing.html" title="Exposing Classes">Exposing Classes</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="exposing.html#tutorial.exposing.constructors">Constructors</a></span></dt> <dt><span class="section"><a href="exposing.html#tutorial.exposing.class_data_members">Class Data Members</a></span></dt> <dt><span class="section"><a href="exposing.html#tutorial.exposing.class_properties">Class Properties</a></span></dt> @@ -347,7 +347,7 @@ the job of wrapping classes that are meant to overridden in Python, easier. </p> <div class="sidebar"> -<div class="titlepage"></div> +<div class="titlepage"><div><div><p class="title"><b></b></p></div></div></div> <p> <span class="inlinemediaobject"><img src="../../images/alert.png"></span> <span class="bold"><strong>MSVC6/7 Workaround</strong></span> @@ -443,7 +443,7 @@ If none, then we call <code class="computeroutput"><span class="identifier">Base</span><span class="special">::</span><span class="identifier">f</span><span class="special">()</span></code>. </p> <div class="sidebar"> -<div class="titlepage"></div> +<div class="titlepage"><div><div><p class="title"><b></b></p></div></div></div> <p> <span class="inlinemediaobject"><img src="../../images/alert.png"></span> <span class="bold"><strong>MSVC6/7 Workaround</strong></span> @@ -499,7 +499,7 @@ </h3></div></div></div> <h3> <a name="tutorial.exposing.class_operators_special_function.h0"></a> - <span><a name="tutorial.exposing.class_operators_special_function.python_operators"></a></span><a class="link" href="exposing.html#tutorial.exposing.class_operators_special_function.python_operators">Python + <span class="phrase"><a name="tutorial.exposing.class_operators_special_function.python_operators"></a></span><a class="link" href="exposing.html#tutorial.exposing.class_operators_special_function.python_operators">Python Operators</a> </h3> <p> @@ -545,7 +545,7 @@ </p> <h3> <a name="tutorial.exposing.class_operators_special_function.h1"></a> - <span><a name="tutorial.exposing.class_operators_special_function.special_methods"></a></span><a class="link" href="exposing.html#tutorial.exposing.class_operators_special_function.special_methods">Special + <span class="phrase"><a name="tutorial.exposing.class_operators_special_function.special_methods"></a></span><a class="link" href="exposing.html#tutorial.exposing.class_operators_special_function.special_methods">Special Methods</a> </h3> <p> diff --git a/libs/python/doc/html/tutorial/tutorial/functions.html b/libs/python/doc/html/tutorial/tutorial/functions.html index 67238ebb21..1403877138 100644 --- a/libs/python/doc/html/tutorial/tutorial/functions.html +++ b/libs/python/doc/html/tutorial/tutorial/functions.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Functions</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Tutorial"> <link rel="up" href="../index.html" title="Boost.Python Tutorial"> <link rel="prev" href="exposing.html" title="Exposing Classes"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="tutorial.functions"></a><a class="link" href="functions.html" title="Functions">Functions</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="functions.html#tutorial.functions.call_policies">Call Policies</a></span></dt> <dt><span class="section"><a href="functions.html#tutorial.functions.overloading">Overloading</a></span></dt> <dt><span class="section"><a href="functions.html#tutorial.functions.default_arguments">Default Arguments</a></span></dt> @@ -196,7 +196,7 @@ Namespaces are one honking great idea -- let's do more of those! </ol></div> <h3> <a name="tutorial.functions.call_policies.h0"></a> - <span><a name="tutorial.functions.call_policies.call_policies"></a></span><a class="link" href="functions.html#tutorial.functions.call_policies.call_policies">Call + <span class="phrase"><a name="tutorial.functions.call_policies.call_policies"></a></span><a class="link" href="functions.html#tutorial.functions.call_policies.call_policies">Call Policies</a> </h3> <p> @@ -241,7 +241,7 @@ Namespaces are one honking great idea -- let's do more of those! Here is the list of predefined call policies. A complete reference detailing these can be found <a href="../../reference/function_invocation_and_creation/models_of_callpolicies.html" target="_top">here</a>. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <span class="bold"><strong>with_custodian_and_ward</strong></span>: Ties lifetimes of the arguments @@ -256,7 +256,7 @@ Namespaces are one honking great idea -- let's do more of those! </li> <li class="listitem"> <span class="bold"><strong>return_value_policy<T> with T one of:</strong></span> - <div class="itemizedlist"><ul class="itemizedlist" type="circle"> + <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> <li class="listitem"> <span class="bold"><strong>reference_existing_object</strong></span>: naive (dangerous) approach @@ -276,7 +276,7 @@ Namespaces are one honking great idea -- let's do more of those! </li> </ul></div> <div class="sidebar"> -<div class="titlepage"></div> +<div class="titlepage"><div><div><p class="title"><b></b></p></div></div></div> <p> <span class="inlinemediaobject"><img src="../../images/smiley.png"></span> <span class="bold"><strong>Remember the Zen, Luke:</strong></span> @@ -384,7 +384,7 @@ Namespaces are one honking great idea -- let's do more of those! <p> When you want to wrap functions (or member functions) that either: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> have default arguments, or </li> @@ -394,7 +394,7 @@ Namespaces are one honking great idea -- let's do more of those! </ul></div> <h3> <a name="tutorial.functions.default_arguments.h0"></a> - <span><a name="tutorial.functions.default_arguments.boost_python_function_overloads"></a></span><a class="link" href="functions.html#tutorial.functions.default_arguments.boost_python_function_overloads">BOOST_PYTHON_FUNCTION_OVERLOADS</a> + <span class="phrase"><a name="tutorial.functions.default_arguments.boost_python_function_overloads"></a></span><a class="link" href="functions.html#tutorial.functions.default_arguments.boost_python_function_overloads">BOOST_PYTHON_FUNCTION_OVERLOADS</a> </h3> <p> Boost.Python now has a way to make it easier. For instance, given a function: @@ -421,7 +421,7 @@ Namespaces are one honking great idea -- let's do more of those! </pre> <h3> <a name="tutorial.functions.default_arguments.h1"></a> - <span><a name="tutorial.functions.default_arguments.boost_python_member_function_ove"></a></span><a class="link" href="functions.html#tutorial.functions.default_arguments.boost_python_member_function_ove">BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS</a> + <span class="phrase"><a name="tutorial.functions.default_arguments.boost_python_member_function_ove"></a></span><a class="link" href="functions.html#tutorial.functions.default_arguments.boost_python_member_function_ove">BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS</a> </h3> <p> Objects here, objects there, objects here there everywhere. More frequently @@ -464,7 +464,7 @@ Namespaces are one honking great idea -- let's do more of those! </p> <h3> <a name="tutorial.functions.default_arguments.h2"></a> - <span><a name="tutorial.functions.default_arguments.init_and_optional"></a></span><a class="link" href="functions.html#tutorial.functions.default_arguments.init_and_optional">init and + <span class="phrase"><a name="tutorial.functions.default_arguments.init_and_optional"></a></span><a class="link" href="functions.html#tutorial.functions.default_arguments.init_and_optional">init and optional</a> </h3> <p> @@ -535,7 +535,7 @@ Namespaces are one honking great idea -- let's do more of those! </p> <h3> <a name="tutorial.functions.auto_overloading.h0"></a> - <span><a name="tutorial.functions.auto_overloading.manual_wrapping"></a></span><a class="link" href="functions.html#tutorial.functions.auto_overloading.manual_wrapping">Manual + <span class="phrase"><a name="tutorial.functions.auto_overloading.manual_wrapping"></a></span><a class="link" href="functions.html#tutorial.functions.auto_overloading.manual_wrapping">Manual Wrapping</a> </h3> <p> diff --git a/libs/python/doc/html/tutorial/tutorial/hello.html b/libs/python/doc/html/tutorial/tutorial/hello.html index 74e55b27f8..ee08b90922 100644 --- a/libs/python/doc/html/tutorial/tutorial/hello.html +++ b/libs/python/doc/html/tutorial/tutorial/hello.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Building Hello World</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Tutorial"> <link rel="up" href="../index.html" title="Boost.Python Tutorial"> <link rel="prev" href="../index.html" title="Boost.Python Tutorial"> @@ -21,7 +21,7 @@ </h2></div></div></div> <h3> <a name="tutorial.hello.h0"></a> - <span><a name="tutorial.hello.from_start_to_finish"></a></span><a class="link" href="hello.html#tutorial.hello.from_start_to_finish">From + <span class="phrase"><a name="tutorial.hello.from_start_to_finish"></a></span><a class="link" href="hello.html#tutorial.hello.from_start_to_finish">From Start To Finish</a> </h3> <p> @@ -63,7 +63,7 @@ The tutorial example can be found in the directory: <code class="literal">libs/python/example/tutorial</code>. There, you can find: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> hello.cpp </li> @@ -88,7 +88,7 @@ </p> <h3> <a name="tutorial.hello.h1"></a> - <span><a name="tutorial.hello.let_s_jam"></a></span><a class="link" href="hello.html#tutorial.hello.let_s_jam">Let's + <span class="phrase"><a name="tutorial.hello.let_s_jam"></a></span><a class="link" href="hello.html#tutorial.hello.let_s_jam">Let's Jam!</a> </h3> <p> @@ -105,7 +105,7 @@ </p> <h3> <a name="tutorial.hello.h2"></a> - <span><a name="tutorial.hello.running_bjam"></a></span><a class="link" href="hello.html#tutorial.hello.running_bjam">Running + <span class="phrase"><a name="tutorial.hello.running_bjam"></a></span><a class="link" href="hello.html#tutorial.hello.running_bjam">Running bjam</a> </h3> <p> diff --git a/libs/python/doc/html/tutorial/tutorial/iterators.html b/libs/python/doc/html/tutorial/tutorial/iterators.html index 24c8c0773f..0e42fc1c5a 100644 --- a/libs/python/doc/html/tutorial/tutorial/iterators.html +++ b/libs/python/doc/html/tutorial/tutorial/iterators.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Iterators</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Tutorial"> <link rel="up" href="../index.html" title="Boost.Python Tutorial"> <link rel="prev" href="embedding.html" title="Embedding"> @@ -26,7 +26,7 @@ <p> <span class="bold"><strong>C++ iterators:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> C++ has 5 type categories (random-access, bidirectional, forward, input, output) @@ -41,7 +41,7 @@ <p> <span class="bold"><strong>Python Iterators:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> 1 category (forward) </li> @@ -83,7 +83,7 @@ <p> We can create a Python savvy iterator using the range function: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> range(start, finish) </li> @@ -94,7 +94,7 @@ <p> Here, start/finish may be one of: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> member data pointers </li> @@ -108,7 +108,7 @@ <p> <span class="bold"><strong>iterator</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> iterator<T, Policies>() </li></ul></div> <p> diff --git a/libs/python/doc/html/tutorial/tutorial/object.html b/libs/python/doc/html/tutorial/tutorial/object.html index 80e8ecb38e..eba0a36d58 100644 --- a/libs/python/doc/html/tutorial/tutorial/object.html +++ b/libs/python/doc/html/tutorial/tutorial/object.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Object Interface</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Tutorial"> <link rel="up" href="../index.html" title="Boost.Python Tutorial"> <link rel="prev" href="functions.html" title="Functions"> @@ -19,7 +19,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="tutorial.object"></a><a class="link" href="object.html" title="Object Interface">Object Interface</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="object.html#tutorial.object.basic_interface">Basic Interface</a></span></dt> <dt><span class="section"><a href="object.html#tutorial.object.derived_object_types">Derived Object types</a></span></dt> @@ -97,7 +97,7 @@ Boost.Python comes with a set of derived <code class="literal">object</code> types corresponding to that of Python's: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> list </li> @@ -166,7 +166,7 @@ do that in std C++. </p> <div class="sidebar"> -<div class="titlepage"></div> +<div class="titlepage"><div><div><p class="title"><b></b></p></div></div></div> <p> <span class="inlinemediaobject"><img src="../../images/alert.png"></span> <span class="bold"><strong>Beware</strong></span> the common pitfall of forgetting @@ -188,7 +188,7 @@ </pre> <h3> <a name="tutorial.object.derived_object_types.h0"></a> - <span><a name="tutorial.object.derived_object_types.class_t_as_objects"></a></span><a class="link" href="object.html#tutorial.object.derived_object_types.class_t_as_objects">class_<T> + <span class="phrase"><a name="tutorial.object.derived_object_types.class_t_as_objects"></a></span><a class="link" href="object.html#tutorial.object.derived_object_types.class_t_as_objects">class_<T> as objects</a> </h3> <p> diff --git a/libs/python/doc/html/tutorial/tutorial/techniques.html b/libs/python/doc/html/tutorial/tutorial/techniques.html index c71b79476a..375dc175e5 100644 --- a/libs/python/doc/html/tutorial/tutorial/techniques.html +++ b/libs/python/doc/html/tutorial/tutorial/techniques.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>General Techniques</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Boost.Python Tutorial"> <link rel="up" href="../index.html" title="Boost.Python Tutorial"> <link rel="prev" href="exception.html" title="Exception Translation"> @@ -18,7 +18,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="tutorial.techniques"></a><a class="link" href="techniques.html" title="General Techniques">General Techniques</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="techniques.html#tutorial.techniques.creating_packages">Creating Packages</a></span></dt> <dt><span class="section"><a href="techniques.html#tutorial.techniques.extending_wrapped_objects_in_pyt">Extending Wrapped Objects in Python</a></span></dt> @@ -158,12 +158,12 @@ __init__.py core/ __init__.py - <span class="underline">core.pyd + _core.pyd filters/ - \</span>_init__.py - <span class="underline">filters.pyd + __init__.py + _filters.pyd io/ - \</span>_init__.py + __init__.py _io.pyd </pre> <p> @@ -273,7 +273,7 @@ <span class="bold"><strong>All</strong></span> point instances created from C++ will also have this member function! This technique has several advantages: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Cut down compile times to zero for these additional functions </li> diff --git a/libs/python/doc/images/alert.png b/libs/python/doc/images/alert.png Binary files differnew file mode 100644 index 0000000000..b4645bc7e7 --- /dev/null +++ b/libs/python/doc/images/alert.png diff --git a/libs/python/doc/images/blank.png b/libs/python/doc/images/blank.png Binary files differnew file mode 100644 index 0000000000..764bf4f0c3 --- /dev/null +++ b/libs/python/doc/images/blank.png diff --git a/libs/python/doc/images/boost.png b/libs/python/doc/images/boost.png Binary files differnew file mode 100644 index 0000000000..b4d51fcd5c --- /dev/null +++ b/libs/python/doc/images/boost.png diff --git a/libs/python/doc/images/bpl.png b/libs/python/doc/images/bpl.png Binary files differnew file mode 100644 index 0000000000..c2d8c69e00 --- /dev/null +++ b/libs/python/doc/images/bpl.png diff --git a/libs/python/doc/images/bpl.svg b/libs/python/doc/images/bpl.svg new file mode 100644 index 0000000000..9a72d2c4e3 --- /dev/null +++ b/libs/python/doc/images/bpl.svg @@ -0,0 +1,224 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + style="overflow:visible" + version="1.1" + id="Layer_1" + width="1057.0247" + height="184.77325" + viewBox="0 0 1057.0247 184.77325" + overflow="visible" + enable-background="new 0 0 517 500" + xml:space="preserve" + inkscape:version="0.91 r13725" + sodipodi:docname="bpl.svg"><metadata + id="metadata3335"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs + id="defs3333"><radialGradient + inkscape:collect="always" + xlink:href="#XMLID_5_" + id="radialGradient5450" + gradientUnits="userSpaceOnUse" + cx="63.75" + cy="246.375" + r="58.375" /><linearGradient + inkscape:collect="always" + xlink:href="#XMLID_6_" + id="linearGradient5452" + gradientUnits="userSpaceOnUse" + x1="28.6553" + y1="262.375" + x2="72.826698" + y2="262.375" /><linearGradient + inkscape:collect="always" + xlink:href="#XMLID_7_" + id="linearGradient5454" + gradientUnits="userSpaceOnUse" + x1="66.6689" + y1="242.22659" + x2="110.314" + y2="242.22659" /><linearGradient + gradientUnits="userSpaceOnUse" + y2="131.85291" + x2="110.14919" + y1="77.070274" + x1="55.549179" + id="linearGradient9521" + xlink:href="#linearGradient9515" + inkscape:collect="always" + gradientTransform="matrix(0.50439178,0,0,0.50439178,81.107923,23.818663)" /><linearGradient + id="linearGradient9515" + inkscape:collect="always"><stop + id="stop9517" + offset="0" + style="stop-color:#387eb8;stop-opacity:1" /><stop + id="stop9519" + offset="1" + style="stop-color:#366994;stop-opacity:1" /></linearGradient><linearGradient + gradientUnits="userSpaceOnUse" + y2="168.1012" + x2="147.77737" + y1="111.92053" + x1="89.136749" + id="linearGradient11307" + xlink:href="#linearGradient11301" + inkscape:collect="always" + gradientTransform="matrix(0.50439178,0,0,0.50439178,81.107923,23.818663)" /><linearGradient + id="linearGradient11301" + inkscape:collect="always"><stop + id="stop11303" + offset="0" + style="stop-color:#ffe052;stop-opacity:1" /><stop + id="stop11305" + offset="1" + style="stop-color:#ffc331;stop-opacity:1" /></linearGradient></defs><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1597" + inkscape:window-height="1330" + id="namedview3331" + showgrid="false" + inkscape:zoom="0.60811183" + inkscape:cx="613.76829" + inkscape:cy="759.16496" + inkscape:window-x="0" + inkscape:window-y="30" + inkscape:window-maximized="0" + inkscape:current-layer="Layer_1" + fit-margin-top="0" + fit-margin-left="0" + fit-margin-right="0" + fit-margin-bottom="0" /><g + id="shadow" + transform="matrix(1.5826403,0,0,1.5826403,-8.5066916,-297.53638)"><radialGradient + id="XMLID_5_" + cx="63.75" + cy="246.375" + r="58.375" + gradientUnits="userSpaceOnUse"><stop + offset="0" + style="stop-color:#000000" + id="stop3283" /><stop + offset="0.0641" + style="stop-color:#191919" + id="stop3285" /><stop + offset="0.2539" + style="stop-color:#5E5E5E" + id="stop3287" /><stop + offset="0.4336" + style="stop-color:#979797" + id="stop3289" /><stop + offset="0.5979" + style="stop-color:#C4C4C4" + id="stop3291" /><stop + offset="0.7439" + style="stop-color:#E4E4E4" + id="stop3293" /><stop + offset="0.866" + style="stop-color:#F8F8F8" + id="stop3295" /><stop + offset="0.9494" + style="stop-color:#FFFFFF" + id="stop3297" /></radialGradient><circle + cx="63.75" + cy="246.375" + r="58.375" + id="circle3299" + style="opacity:0.3;fill:url(#radialGradient5450)" /></g><g + id="left-down" + transform="matrix(1.5826403,0,0,1.5826403,-8.5066916,-297.53638)"><linearGradient + id="XMLID_6_" + gradientUnits="userSpaceOnUse" + x1="28.6553" + y1="262.375" + x2="72.826698" + y2="262.375"><stop + offset="0" + style="stop-color:#8AACD6" + id="stop3303" /><stop + offset="1" + style="stop-color:#A7C7E6" + id="stop3305" /></linearGradient><polygon + points="72.827,262.465 61.668,243.375 39.724,243.375 28.655,262.286 39.721,281.375 61.665,281.375 " + id="polygon3307" + style="fill:url(#linearGradient5452)" /><path + d="m 62.242,242.375 -1.148,0 -20.797,0 -1.147,0 -0.579,0.99 -10.485,17.914 -0.589,1.005 0.585,1.008 10.485,18.086 0.578,0.997 1.152,0 20.797,0 1.142,0 0.58,-0.983 10.572,-17.913 0.597,-1.012 -0.592,-1.014 -10.572,-18.087 -0.579,-0.991 0,0 z m -32.43,19.914 10.485,-17.914 20.797,0 10.572,18.087 0,0 0,0 -10.572,17.913 -20.797,0 -10.485,-18.086 0,0 0,0 z" + id="path3309" + inkscape:connector-curvature="0" + style="fill:#ffffff" /></g><g + id="right-center" + transform="matrix(1.5826403,0,0,1.5826403,-8.5066916,-297.53638)"><linearGradient + id="XMLID_7_" + gradientUnits="userSpaceOnUse" + x1="66.6689" + y1="242.22659" + x2="110.314" + y2="242.22659"><stop + offset="0.0056" + style="stop-color:#B1D2EC" + id="stop3313" /><stop + offset="1" + style="stop-color:#C8E6F6" + id="stop3315" /></linearGradient><polygon + points="110.314,242.047 99.106,223.15 77.164,223.15 66.669,241.262 78.307,261.304 99.112,261.21 " + id="polygon3317" + style="fill:url(#linearGradient5454)" /><path + d="m 99.675,222.15 -1.139,0 -20.797,0 -1.153,0 -0.578,0.997 -9.914,17.112 -0.581,1.004 0.582,1.003 11.056,19.039 0.582,1.001 1.157,-0.005 19.655,-0.088 1.142,-0.005 0.576,-0.986 10.617,-18.162 0.594,-1.016 -0.601,-1.013 -10.617,-17.901 -0.581,-0.98 0,0 z m -31.85,19.112 9.914,-17.112 20.797,0 10.617,17.901 0,0 0,0 -10.617,18.162 -19.655,0.088 -11.056,-19.039 0,0 0,0 z" + id="path3319" + inkscape:connector-curvature="0" + style="fill:#ffffff" /></g><g + id="left-up" + transform="matrix(1.5826403,0,0,1.5826403,-8.5066916,-297.53638)"><linearGradient + id="XMLID_8_" + gradientUnits="userSpaceOnUse" + x1="39.3022" + y1="222.79201" + x2="78.625504" + y2="222.79201"><stop + offset="0.0056" + style="stop-color:#B1D2EC" + id="stop3323" /><stop + offset="1" + style="stop-color:#C8E6F6" + id="stop3325" /></linearGradient><path + d="m 50.211,207.025 -10.909,19.045 6.912,12.442 16.451,0.047 c 0,0 11.104,-18.828 11.656,-19.763 0.766,0 4.304,0 4.304,0 l -6.704,-11.771 -21.71,0 z" + id="path3327" + inkscape:connector-curvature="0" + style="fill:url(#XMLID_8_)" /><path + d="m 72.503,206.025 -1.163,0 -20.55,0 -1.159,0 -0.576,1.006 -10.34,18.053 -0.561,0.979 0.548,0.986 6.353,11.436 0.569,1.026 1.173,0.003 15.292,0.044 1.146,0.003 0.583,-0.987 11.075,-18.778 2.012,0 3.441,0 -1.703,-2.99 -5.565,-9.771 -0.575,-1.01 0,0 z m -32.053,20.053 10.34,-18.053 20.55,0 5.565,9.771 0,0 0,0 -3.155,0 -11.655,19.762 -15.292,-0.044 -6.353,-11.436 0,0 0,0 z" + id="path3329" + inkscape:connector-curvature="0" + style="fill:#ffffff" /></g><path + inkscape:connector-curvature="0" + id="path8615" + d="m 131.421,57.849346 c -14.13898,1e-6 -13.25605,6.131512 -13.25605,6.131512 l 0.0157,6.352191 13.49248,0 0,1.907228 -18.85164,0 c 0,0 -9.04753,-1.026072 -9.04753,13.240285 0,14.266347 7.89688,13.760431 7.89688,13.760431 l 4.71291,0 0,-6.620138 c 0,0 -0.25404,-7.896881 7.77079,-7.896881 8.02483,0 13.38214,0 13.38214,0 0,0 7.51859,0.12153 7.51859,-7.266396 0,-7.387936 0,-12.21574 0,-12.21574 0,-10e-7 1.14154,-7.392492 -13.63433,-7.392492 z m -7.43978,4.271568 c 1.34241,-10e-7 2.42739,1.084983 2.42739,2.427385 0,1.342403 -1.08498,2.427386 -2.42739,2.427386 -1.3424,10e-7 -2.42738,-1.084983 -2.42738,-2.427386 0,-1.342402 1.08498,-2.427385 2.42738,-2.427385 z" + style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;fill:url(#linearGradient9521);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none" /><path + inkscape:connector-curvature="0" + style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;fill:url(#linearGradient11307);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none" + d="m 131.82255,113.25481 c 14.13897,0 13.25604,-6.13151 13.25604,-6.13151 l -0.0157,-6.35219 -13.49248,0 0,-1.907219 18.85164,0 c 0,0 9.04754,1.026071 9.04754,-13.240285 0,-14.266357 -7.89689,-13.760451 -7.89689,-13.760451 l -4.71291,0 0,6.620147 c 0,0 0.25403,7.896881 -7.77079,7.896881 -8.02483,0 -13.38214,0 -13.38214,0 0,0 -7.5186,-0.121529 -7.5186,7.266406 0,7.387911 0,12.215731 0,12.215731 0,0 -1.14153,7.39249 13.63434,7.39249 z m 7.43977,-4.27157 c -1.3424,0 -2.42738,-1.08499 -2.42738,-2.42739 0,-1.3424 1.08498,-2.42739 2.42738,-2.42739 1.34241,0 2.42739,1.08499 2.42739,2.42739 1e-5,1.3424 -1.08498,2.42739 -2.42739,2.42739 z" + id="path8620" /><text + xml:space="preserve" + style="font-style:italic;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:131.83750916px;line-height:100%;font-family:'Nimbus Sans L';-inkscape-font-specification:'Nimbus Sans L, Bold Italic';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#00507f;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + x="196.97847" + y="133.51338" + id="text5174" + sodipodi:linespacing="100%"><tspan + sodipodi:role="line" + id="tspan5176" + x="196.97847" + y="133.51338">Boost.Python</tspan></text> +</svg>
\ No newline at end of file diff --git a/libs/python/doc/images/callouts/1.png b/libs/python/doc/images/callouts/1.png Binary files differnew file mode 100644 index 0000000000..6003ad3af4 --- /dev/null +++ b/libs/python/doc/images/callouts/1.png diff --git a/libs/python/doc/images/callouts/1.svg b/libs/python/doc/images/callouts/1.svg new file mode 100644 index 0000000000..e2e87dc526 --- /dev/null +++ b/libs/python/doc/images/callouts/1.svg @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M10.428,10.411h0.56c3.78,0,4.788-1.96,4.872-3.444h3.22v19.88h-3.92V13.154h-4.732V10.411z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/10.png b/libs/python/doc/images/callouts/10.png Binary files differnew file mode 100644 index 0000000000..0426f516a4 --- /dev/null +++ b/libs/python/doc/images/callouts/10.png diff --git a/libs/python/doc/images/callouts/10.svg b/libs/python/doc/images/callouts/10.svg new file mode 100644 index 0000000000..4740f587bd --- /dev/null +++ b/libs/python/doc/images/callouts/10.svg @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.815,10.758h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76v17.04h-3.36V13.11H3.815V10.758z"/> + <path style="fill:#FFFFFF;" d="M22.175,7.806c4.009,0,5.904,2.76,5.904,8.736c0,5.975-1.896,8.76-5.904,8.76 + c-4.008,0-5.904-2.785-5.904-8.76C16.271,10.566,18.167,7.806,22.175,7.806z M22.175,22.613c1.921,0,2.448-1.68,2.448-6.071 + c0-4.393-0.527-6.049-2.448-6.049c-1.92,0-2.448,1.656-2.448,6.049C19.727,20.934,20.255,22.613,22.175,22.613z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/11.png b/libs/python/doc/images/callouts/11.png Binary files differnew file mode 100644 index 0000000000..821afc4fa8 --- /dev/null +++ b/libs/python/doc/images/callouts/11.png diff --git a/libs/python/doc/images/callouts/11.svg b/libs/python/doc/images/callouts/11.svg new file mode 100644 index 0000000000..09a0b2cf71 --- /dev/null +++ b/libs/python/doc/images/callouts/11.svg @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M5.209,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H5.209V10.412z"/> + <path style="fill:#FFFFFF;" d="M18.553,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.359V12.764h-4.056V10.412z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/12.png b/libs/python/doc/images/callouts/12.png Binary files differnew file mode 100644 index 0000000000..7cec72720f --- /dev/null +++ b/libs/python/doc/images/callouts/12.png diff --git a/libs/python/doc/images/callouts/12.svg b/libs/python/doc/images/callouts/12.svg new file mode 100644 index 0000000000..9794044c71 --- /dev/null +++ b/libs/python/doc/images/callouts/12.svg @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M4.813,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H4.813V10.412z"/> + <path style="fill:#FFFFFF;" d="M17.316,13.484c0-5.545,4.056-6.024,5.568-6.024c3.265,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.553,5.544c-2.256,1.584-3.432,2.353-3.815,3.145h7.392V24.5h-11.64c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.353-2.424c-2.352,0-2.423,1.944-2.447,3.192H17.316z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/13.png b/libs/python/doc/images/callouts/13.png Binary files differnew file mode 100644 index 0000000000..5b41e02a67 --- /dev/null +++ b/libs/python/doc/images/callouts/13.png diff --git a/libs/python/doc/images/callouts/13.svg b/libs/python/doc/images/callouts/13.svg new file mode 100644 index 0000000000..64268bb4fa --- /dev/null +++ b/libs/python/doc/images/callouts/13.svg @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.813,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H3.813V10.412z"/> + <path style="fill:#FFFFFF;" d="M20.611,14.636h0.529c1.008,0,2.855-0.096,2.855-2.304c0-0.624-0.288-2.185-2.137-2.185 + c-2.303,0-2.303,2.185-2.303,2.784h-3.12c0-3.191,1.8-5.472,5.64-5.472c2.279,0,5.279,1.152,5.279,4.752 + c0,1.728-1.08,2.808-2.039,3.24V15.5c0.6,0.168,2.568,1.056,2.568,3.96c0,3.216-2.377,5.496-5.809,5.496 + c-1.607,0-5.928-0.36-5.928-5.688h3.288l-0.024,0.024c0,0.912,0.24,2.976,2.496,2.976c1.344,0,2.52-0.911,2.52-2.808 + c0-2.328-2.256-2.424-3.816-2.424V14.636z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/14.png b/libs/python/doc/images/callouts/14.png Binary files differnew file mode 100644 index 0000000000..de5bdbd3eb --- /dev/null +++ b/libs/python/doc/images/callouts/14.png diff --git a/libs/python/doc/images/callouts/14.svg b/libs/python/doc/images/callouts/14.svg new file mode 100644 index 0000000000..469aa97487 --- /dev/null +++ b/libs/python/doc/images/callouts/14.svg @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M4.146,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H4.146V10.412z"/> + <path style="fill:#FFFFFF;" d="M28.457,20.732h-1.896V24.5h-3.36v-3.768h-6.72v-2.904L22.746,7.46h3.815v10.656h1.896V20.732z + M23.201,18.116c0-4.128,0.072-6.792,0.072-7.32h-0.048l-4.272,7.32H23.201z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/15.png b/libs/python/doc/images/callouts/15.png Binary files differnew file mode 100644 index 0000000000..3fd6ac3860 --- /dev/null +++ b/libs/python/doc/images/callouts/15.png diff --git a/libs/python/doc/images/callouts/15.svg b/libs/python/doc/images/callouts/15.svg new file mode 100644 index 0000000000..8202233ef0 --- /dev/null +++ b/libs/python/doc/images/callouts/15.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.479,11.079h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76v17.04h-3.36V13.43H3.479V11.079z"/> + <path style="fill:#FFFFFF;" d="M19.342,14.943c0.625-0.433,1.392-0.937,3.048-0.937c2.279,0,5.16,1.584,5.16,5.496 + c0,2.328-1.176,6.121-6.192,6.121c-2.664,0-5.376-1.584-5.544-5.016h3.36c0.144,1.391,0.888,2.326,2.376,2.326 + c1.607,0,2.544-1.367,2.544-3.191c0-1.512-0.72-3.047-2.496-3.047c-0.456,0-1.608,0.023-2.256,1.223l-3-0.143l1.176-9.361h9.36 + v2.832h-6.937L19.342,14.943z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/16.svg b/libs/python/doc/images/callouts/16.svg new file mode 100644 index 0000000000..01d6bf8164 --- /dev/null +++ b/libs/python/doc/images/callouts/16.svg @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.813,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H3.813V10.412z"/> + <path style="fill:#FFFFFF;" d="M24.309,11.78c-0.097-0.96-0.721-1.633-1.969-1.633c-2.184,0-2.688,2.496-2.808,4.704L19.58,14.9 + c0.456-0.624,1.296-1.416,3.191-1.416c3.529,0,5.209,2.712,5.209,5.256c0,3.72-2.28,6.216-5.568,6.216 + c-5.16,0-6.168-4.32-6.168-8.568c0-3.24,0.432-8.928,6.336-8.928c0.695,0,2.641,0.264,3.48,1.104 + c0.936,0.912,1.271,1.416,1.584,3.217H24.309z M22.172,16.172c-1.271,0-2.568,0.792-2.568,2.928c0,1.849,1.056,3.168,2.664,3.168 + c1.225,0,2.353-0.936,2.353-3.239C24.62,16.868,23.229,16.172,22.172,16.172z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/17.svg b/libs/python/doc/images/callouts/17.svg new file mode 100644 index 0000000000..0a04c5560e --- /dev/null +++ b/libs/python/doc/images/callouts/17.svg @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.479,11.079h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76v17.04h-3.36V13.43H3.479V11.079z"/> + <path style="fill:#FFFFFF;" d="M27.838,11.006c-1.631,1.776-5.807,6.816-6.215,14.16h-3.457c0.36-6.816,4.632-12.24,6.072-13.776 + h-8.472l0.072-2.976h12V11.006z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/18.svg b/libs/python/doc/images/callouts/18.svg new file mode 100644 index 0000000000..1cb891b34d --- /dev/null +++ b/libs/python/doc/images/callouts/18.svg @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M4.813,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H4.813V10.412z"/> + <path style="fill:#FFFFFF;" d="M23.172,24.956c-4.392,0-5.904-2.856-5.904-5.185c0-0.863,0-3.119,2.592-4.319 + c-1.344-0.672-2.064-1.752-2.064-3.336c0-2.904,2.328-4.656,5.304-4.656c3.528,0,5.4,2.088,5.4,4.44 + c0,1.464-0.6,2.712-1.968,3.432c1.632,0.815,2.544,1.896,2.544,4.104C29.076,21.596,27.684,24.956,23.172,24.956z M23.124,16.916 + c-1.224,0-2.4,0.792-2.4,2.64c0,1.632,0.936,2.712,2.472,2.712c1.752,0,2.424-1.512,2.424-2.688 + C25.62,18.38,24.996,16.916,23.124,16.916z M25.284,12.26c0-1.296-0.888-2.112-1.968-2.112c-1.512,0-2.305,0.864-2.305,2.112 + c0,1.008,0.744,2.112,2.185,2.112C24.516,14.372,25.284,13.484,25.284,12.26z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/19.svg b/libs/python/doc/images/callouts/19.svg new file mode 100644 index 0000000000..e6fbb179fc --- /dev/null +++ b/libs/python/doc/images/callouts/19.svg @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M4.146,10.746h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76v17.041h-3.36V13.097H4.146V10.746z"/> + <path style="fill:#FFFFFF;" d="M20.225,20.898v0.023c0.192,1.176,0.936,1.68,1.968,1.68c1.392,0,2.783-1.176,2.808-4.752 + l-0.048-0.049c-0.768,1.152-2.088,1.441-3.24,1.441c-3.264,0-5.16-2.473-5.16-5.329c0-4.176,2.472-6.12,5.808-6.12 + c5.904,0,6,6.36,6,8.76c0,6.601-3.12,8.736-6.192,8.736c-2.904,0-4.992-1.68-5.28-4.391H20.225z M22.434,16.553 + c1.176,0,2.472-0.84,2.472-2.855c0-1.944-0.841-3.145-2.568-3.145c-0.864,0-2.424,0.433-2.424,2.88 + C19.913,16.001,21.161,16.553,22.434,16.553z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/2.png b/libs/python/doc/images/callouts/2.png Binary files differnew file mode 100644 index 0000000000..f7c1578846 --- /dev/null +++ b/libs/python/doc/images/callouts/2.png diff --git a/libs/python/doc/images/callouts/2.svg b/libs/python/doc/images/callouts/2.svg new file mode 100644 index 0000000000..07d03395d0 --- /dev/null +++ b/libs/python/doc/images/callouts/2.svg @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M9.668,12.328c0-6.469,4.732-7.028,6.496-7.028c3.808,0,6.833,2.24,6.833,6.271 + c0,3.416-2.213,5.152-4.145,6.469c-2.632,1.848-4.004,2.744-4.452,3.668h8.624v3.472H9.444c0.14-2.324,0.308-4.76,4.62-7.896 + c3.584-2.604,5.012-3.612,5.012-5.853c0-1.315-0.84-2.828-2.744-2.828c-2.744,0-2.828,2.269-2.856,3.725H9.668z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/20.svg b/libs/python/doc/images/callouts/20.svg new file mode 100644 index 0000000000..ccbfd40319 --- /dev/null +++ b/libs/python/doc/images/callouts/20.svg @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M23.172,7.46c4.008,0,5.904,2.76,5.904,8.736c0,5.976-1.896,8.76-5.904,8.76 + s-5.904-2.784-5.904-8.76C17.268,10.22,19.164,7.46,23.172,7.46z M23.172,22.268c1.92,0,2.448-1.68,2.448-6.071 + c0-4.393-0.528-6.049-2.448-6.049s-2.448,1.656-2.448,6.049C20.724,20.588,21.252,22.268,23.172,22.268z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/21.svg b/libs/python/doc/images/callouts/21.svg new file mode 100644 index 0000000000..93ec53fdd9 --- /dev/null +++ b/libs/python/doc/images/callouts/21.svg @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M5.306,13.151c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392v2.976H5.114c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H5.306z"/> + <path style="fill:#FFFFFF;" d="M19.49,10.079h0.48c3.239,0,4.104-1.681,4.176-2.952h2.761v17.04h-3.361V12.431H19.49V10.079z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/22.svg b/libs/python/doc/images/callouts/22.svg new file mode 100644 index 0000000000..f48c5f3fd1 --- /dev/null +++ b/libs/python/doc/images/callouts/22.svg @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M17.316,13.484c0-5.545,4.056-6.024,5.568-6.024c3.265,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.553,5.544c-2.256,1.584-3.432,2.353-3.815,3.145h7.392V24.5h-11.64c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.353-2.424c-2.352,0-2.423,1.944-2.447,3.192H17.316z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/23.svg b/libs/python/doc/images/callouts/23.svg new file mode 100644 index 0000000000..6624212957 --- /dev/null +++ b/libs/python/doc/images/callouts/23.svg @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M21.612,14.636h0.528c1.008,0,2.855-0.096,2.855-2.304c0-0.624-0.287-2.185-2.136-2.185 + c-2.304,0-2.304,2.185-2.304,2.784h-3.12c0-3.191,1.8-5.472,5.64-5.472c2.28,0,5.28,1.152,5.28,4.752 + c0,1.728-1.08,2.808-2.04,3.24V15.5c0.6,0.168,2.568,1.056,2.568,3.96c0,3.216-2.377,5.496-5.809,5.496 + c-1.607,0-5.928-0.36-5.928-5.688h3.288l-0.024,0.024c0,0.912,0.24,2.976,2.496,2.976c1.344,0,2.521-0.911,2.521-2.808 + c0-2.328-2.257-2.424-3.816-2.424V14.636z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/24.svg b/libs/python/doc/images/callouts/24.svg new file mode 100644 index 0000000000..a3d552535f --- /dev/null +++ b/libs/python/doc/images/callouts/24.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M4.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H4.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H4.972z"/> + <path style="fill:#FFFFFF;" d="M30.124,20.732h-1.896V24.5h-3.36v-3.768h-6.72v-2.904L24.412,7.46h3.816v10.656h1.896V20.732z + M24.868,18.116c0-4.128,0.071-6.792,0.071-7.32h-0.047l-4.272,7.32H24.868z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/25.svg b/libs/python/doc/images/callouts/25.svg new file mode 100644 index 0000000000..56614a979a --- /dev/null +++ b/libs/python/doc/images/callouts/25.svg @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M20.676,14.276c0.624-0.433,1.393-0.937,3.049-0.937c2.279,0,5.16,1.584,5.16,5.496 + c0,2.328-1.177,6.12-6.193,6.12c-2.664,0-5.375-1.584-5.543-5.016h3.36c0.144,1.392,0.889,2.327,2.376,2.327 + c1.608,0,2.544-1.367,2.544-3.191c0-1.513-0.72-3.048-2.496-3.048c-0.455,0-1.607,0.023-2.256,1.224l-3-0.144l1.176-9.36h9.36 + v2.832h-6.937L20.676,14.276z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/26.svg b/libs/python/doc/images/callouts/26.svg new file mode 100644 index 0000000000..56faeaca30 --- /dev/null +++ b/libs/python/doc/images/callouts/26.svg @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M25.309,11.78c-0.097-0.96-0.721-1.633-1.969-1.633c-2.184,0-2.688,2.496-2.808,4.704L20.58,14.9 + c0.456-0.624,1.296-1.416,3.191-1.416c3.529,0,5.209,2.712,5.209,5.256c0,3.72-2.28,6.216-5.568,6.216 + c-5.16,0-6.168-4.32-6.168-8.568c0-3.24,0.432-8.928,6.336-8.928c0.695,0,2.641,0.264,3.48,1.104 + c0.936,0.912,1.271,1.416,1.584,3.217H25.309z M23.172,16.172c-1.271,0-2.568,0.792-2.568,2.928c0,1.849,1.056,3.168,2.664,3.168 + c1.225,0,2.353-0.936,2.353-3.239C25.62,16.868,24.229,16.172,23.172,16.172z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/27.svg b/libs/python/doc/images/callouts/27.svg new file mode 100644 index 0000000000..a75c812159 --- /dev/null +++ b/libs/python/doc/images/callouts/27.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M29.172,10.34c-1.632,1.776-5.808,6.816-6.216,14.16H19.5c0.36-6.816,4.632-12.24,6.072-13.776 + H17.1l0.072-2.976h12V10.34z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/28.svg b/libs/python/doc/images/callouts/28.svg new file mode 100644 index 0000000000..7f8cf1a350 --- /dev/null +++ b/libs/python/doc/images/callouts/28.svg @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M23.172,24.956c-4.392,0-5.904-2.856-5.904-5.185c0-0.863,0-3.119,2.592-4.319 + c-1.344-0.672-2.064-1.752-2.064-3.336c0-2.904,2.328-4.656,5.304-4.656c3.528,0,5.4,2.088,5.4,4.44 + c0,1.464-0.6,2.712-1.968,3.432c1.632,0.815,2.544,1.896,2.544,4.104C29.076,21.596,27.684,24.956,23.172,24.956z M23.124,16.916 + c-1.224,0-2.4,0.792-2.4,2.64c0,1.632,0.936,2.712,2.472,2.712c1.752,0,2.424-1.512,2.424-2.688 + C25.62,18.38,24.996,16.916,23.124,16.916z M25.284,12.26c0-1.296-0.888-2.112-1.968-2.112c-1.512,0-2.305,0.864-2.305,2.112 + c0,1.008,0.744,2.112,2.185,2.112C24.516,14.372,25.284,13.484,25.284,12.26z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/29.svg b/libs/python/doc/images/callouts/29.svg new file mode 100644 index 0000000000..cb63adf1fe --- /dev/null +++ b/libs/python/doc/images/callouts/29.svg @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M20.893,20.564v0.023c0.191,1.176,0.936,1.68,1.967,1.68c1.393,0,2.785-1.176,2.809-4.752 + l-0.048-0.048c-0.769,1.152-2.088,1.44-3.24,1.44c-3.264,0-5.16-2.473-5.16-5.328c0-4.176,2.472-6.12,5.807-6.12 + c5.904,0,6.001,6.36,6.001,8.76c0,6.601-3.12,8.736-6.192,8.736c-2.904,0-4.992-1.68-5.28-4.392H20.893z M23.1,16.22 + c1.176,0,2.473-0.84,2.473-2.855c0-1.944-0.84-3.145-2.568-3.145c-0.863,0-2.424,0.433-2.424,2.88 + C20.58,15.668,21.828,16.22,23.1,16.22z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/3.png b/libs/python/doc/images/callouts/3.png Binary files differnew file mode 100644 index 0000000000..3ff0a93931 --- /dev/null +++ b/libs/python/doc/images/callouts/3.png diff --git a/libs/python/doc/images/callouts/3.svg b/libs/python/doc/images/callouts/3.svg new file mode 100644 index 0000000000..918be806f4 --- /dev/null +++ b/libs/python/doc/images/callouts/3.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M15.127,14.005h0.616c1.176,0,3.332-0.112,3.332-2.688c0-0.728-0.336-2.548-2.492-2.548 + c-2.688,0-2.688,2.548-2.688,3.248h-3.64c0-3.724,2.1-6.384,6.58-6.384c2.66,0,6.16,1.344,6.16,5.544 + c0,2.016-1.261,3.276-2.38,3.78v0.056c0.699,0.196,2.996,1.232,2.996,4.62c0,3.752-2.772,6.412-6.776,6.412 + c-1.876,0-6.916-0.42-6.916-6.636h3.836l-0.028,0.027c0,1.064,0.28,3.473,2.912,3.473c1.568,0,2.94-1.064,2.94-3.276 + c0-2.716-2.632-2.828-4.452-2.828V14.005z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/30.svg b/libs/python/doc/images/callouts/30.svg new file mode 100644 index 0000000000..dc43ba1e3c --- /dev/null +++ b/libs/python/doc/images/callouts/30.svg @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M8.268,14.636h0.528c1.008,0,2.856-0.096,2.856-2.304c0-0.624-0.288-2.185-2.136-2.185 + c-2.304,0-2.304,2.185-2.304,2.784h-3.12c0-3.191,1.8-5.472,5.64-5.472c2.28,0,5.28,1.152,5.28,4.752 + c0,1.728-1.08,2.808-2.04,3.24V15.5c0.6,0.168,2.568,1.056,2.568,3.96c0,3.216-2.376,5.496-5.808,5.496 + c-1.608,0-5.928-0.36-5.928-5.688h3.288l-0.024,0.024c0,0.912,0.24,2.976,2.496,2.976c1.344,0,2.52-0.911,2.52-2.808 + c0-2.328-2.256-2.424-3.816-2.424V14.636z"/> + <path style="fill:#FFFFFF;" d="M23.172,7.46c4.008,0,5.904,2.76,5.904,8.736c0,5.976-1.896,8.76-5.904,8.76 + s-5.904-2.784-5.904-8.76C17.268,10.22,19.164,7.46,23.172,7.46z M23.172,22.268c1.92,0,2.448-1.68,2.448-6.071 + c0-4.393-0.528-6.049-2.448-6.049s-2.448,1.656-2.448,6.049C20.724,20.588,21.252,22.268,23.172,22.268z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/4.png b/libs/python/doc/images/callouts/4.png Binary files differnew file mode 100644 index 0000000000..6aa29fc0b4 --- /dev/null +++ b/libs/python/doc/images/callouts/4.png diff --git a/libs/python/doc/images/callouts/4.svg b/libs/python/doc/images/callouts/4.svg new file mode 100644 index 0000000000..8eb6a53b3b --- /dev/null +++ b/libs/python/doc/images/callouts/4.svg @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M21.891,20.784h-2.212v4.396h-3.92v-4.396h-7.84v-3.389L15.227,5.3h4.452v12.432h2.212V20.784z + M15.759,17.731c0-4.815,0.084-7.924,0.084-8.54h-0.056l-4.984,8.54H15.759z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/5.png b/libs/python/doc/images/callouts/5.png Binary files differnew file mode 100644 index 0000000000..36e785867a --- /dev/null +++ b/libs/python/doc/images/callouts/5.png diff --git a/libs/python/doc/images/callouts/5.svg b/libs/python/doc/images/callouts/5.svg new file mode 100644 index 0000000000..ca7a9f22f6 --- /dev/null +++ b/libs/python/doc/images/callouts/5.svg @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M14.035,14.252c0.728-0.504,1.624-1.092,3.556-1.092c2.66,0,6.02,1.848,6.02,6.411 + c0,2.717-1.372,7.141-7.224,7.141c-3.108,0-6.272-1.849-6.468-5.853h3.92c0.168,1.624,1.036,2.717,2.772,2.717 + c1.876,0,2.968-1.597,2.968-3.725c0-1.764-0.839-3.556-2.912-3.556c-0.532,0-1.876,0.028-2.632,1.428l-3.5-0.168l1.372-10.92 + h10.919v3.304h-8.092L14.035,14.252z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/6.png b/libs/python/doc/images/callouts/6.png Binary files differnew file mode 100644 index 0000000000..c943676bea --- /dev/null +++ b/libs/python/doc/images/callouts/6.png diff --git a/libs/python/doc/images/callouts/6.svg b/libs/python/doc/images/callouts/6.svg new file mode 100644 index 0000000000..783a0b9d77 --- /dev/null +++ b/libs/python/doc/images/callouts/6.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M19.106,10.673c-0.112-1.12-0.84-1.904-2.296-1.904c-2.548,0-3.136,2.912-3.276,5.488l0.056,0.056 + c0.532-0.728,1.512-1.651,3.724-1.651c4.116,0,6.077,3.164,6.077,6.131c0,4.34-2.66,7.252-6.497,7.252 + c-6.02,0-7.196-5.039-7.196-9.996c0-3.78,0.504-10.416,7.392-10.416c0.812,0,3.08,0.308,4.061,1.288 + c1.092,1.063,1.483,1.652,1.848,3.752H19.106z M16.614,15.797c-1.484,0-2.996,0.924-2.996,3.416c0,2.156,1.232,3.697,3.108,3.697 + c1.428,0,2.745-1.094,2.745-3.781C19.471,16.609,17.846,15.797,16.614,15.797z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/7.png b/libs/python/doc/images/callouts/7.png Binary files differnew file mode 100644 index 0000000000..20940de30d --- /dev/null +++ b/libs/python/doc/images/callouts/7.png diff --git a/libs/python/doc/images/callouts/7.svg b/libs/python/doc/images/callouts/7.svg new file mode 100644 index 0000000000..59b3714b56 --- /dev/null +++ b/libs/python/doc/images/callouts/7.svg @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M24.28,9.66c-1.904,2.071-6.776,7.951-7.252,16.52h-4.032c0.42-7.952,5.404-14.28,7.084-16.072 + h-9.884l0.084-3.472h14V9.66z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/8.png b/libs/python/doc/images/callouts/8.png Binary files differnew file mode 100644 index 0000000000..d8e34d4a09 --- /dev/null +++ b/libs/python/doc/images/callouts/8.png diff --git a/libs/python/doc/images/callouts/8.svg b/libs/python/doc/images/callouts/8.svg new file mode 100644 index 0000000000..c1803a3c0d --- /dev/null +++ b/libs/python/doc/images/callouts/8.svg @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M16.28,26.712c-5.124,0-6.888-3.332-6.888-6.048c0-1.009,0-3.641,3.024-5.04 + c-1.568-0.784-2.408-2.044-2.408-3.893c0-3.388,2.716-5.432,6.188-5.432c4.116,0,6.3,2.436,6.3,5.18 + c0,1.708-0.7,3.164-2.296,4.004c1.903,0.952,2.968,2.212,2.968,4.788C23.168,22.792,21.544,26.712,16.28,26.712z M16.224,17.332 + c-1.428,0-2.8,0.924-2.8,3.08c0,1.903,1.092,3.164,2.884,3.164c2.043,0,2.829-1.765,2.829-3.137 + C19.137,19.04,18.408,17.332,16.224,17.332z M18.744,11.899c0-1.512-1.036-2.464-2.296-2.464c-1.764,0-2.688,1.008-2.688,2.464 + c0,1.177,0.868,2.464,2.548,2.464C17.848,14.363,18.744,13.328,18.744,11.899z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/callouts/9.png b/libs/python/doc/images/callouts/9.png Binary files differnew file mode 100644 index 0000000000..abe636072b --- /dev/null +++ b/libs/python/doc/images/callouts/9.png diff --git a/libs/python/doc/images/callouts/9.svg b/libs/python/doc/images/callouts/9.svg new file mode 100644 index 0000000000..bc149d3cb2 --- /dev/null +++ b/libs/python/doc/images/callouts/9.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M13.953,21.921v0.027c0.224,1.372,1.092,1.961,2.296,1.961c1.624,0,3.248-1.372,3.276-5.545 + l-0.057-0.056c-0.896,1.344-2.436,1.68-3.78,1.68c-3.808,0-6.02-2.884-6.02-6.216c0-4.872,2.884-7.14,6.776-7.14 + c6.888,0,7,7.42,7,10.22c0,7.7-3.641,10.192-7.224,10.192c-3.388,0-5.824-1.96-6.16-5.124H13.953z M16.529,16.853 + c1.372,0,2.884-0.979,2.884-3.332c0-2.268-0.98-3.668-2.996-3.668c-1.008,0-2.828,0.504-2.828,3.36 + C13.589,16.209,15.045,16.853,16.529,16.853z"/> + </g> +</g> +</svg> diff --git a/libs/python/doc/images/caution.png b/libs/python/doc/images/caution.png Binary files differnew file mode 100644 index 0000000000..5b7809ca4a --- /dev/null +++ b/libs/python/doc/images/caution.png diff --git a/libs/python/doc/images/caution.svg b/libs/python/doc/images/caution.svg new file mode 100644 index 0000000000..4bd586a08e --- /dev/null +++ b/libs/python/doc/images/caution.svg @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Generator: Adobe Illustrator 12.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --><svg height="120.648" id="Layer_1" inkscape:version="0.42" sodipodi:docbase="F:\openclip\svg da inviare" sodipodi:docname="Attenzione.svg" sodipodi:version="0.32" space="preserve" style="overflow:visible;enable-background:new 0 0 133.878 120.648;" version="1.1" viewBox="0 0 133.878 120.648" width="133.878" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg"> + <metadata> + <rdf:RDF xmlns:cc="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> + <cc:Work rdf:about=""> + <dc:title>Attenzione</dc:title> + <dc:description></dc:description> + <dc:subject> + <rdf:Bag> + <rdf:li>pulsante</rdf:li> + </rdf:Bag> + </dc:subject> + <dc:publisher> + <cc:Agent rdf:about="http://www.openclipart.org/"> + <dc:title>Open Clip Art Library</dc:title> + </cc:Agent> + </dc:publisher> + <dc:creator> + <cc:Agent> + <dc:title>Architetto Francesco Rollandin</dc:title> + </cc:Agent> + </dc:creator> + <dc:rights> + <cc:Agent> + <dc:title>Architetto Francesco Rollandin</dc:title> + </cc:Agent> + </dc:rights> + <dc:date></dc:date> + <dc:format>image/svg+xml</dc:format> + <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> + <cc:license rdf:resource="http://web.resource.org/cc/PublicDomain"/> + <dc:language>en</dc:language> + </cc:Work> + <cc:License rdf:about="http://web.resource.org/cc/PublicDomain"> + <cc:permits rdf:resource="http://web.resource.org/cc/Reproduction"/> + <cc:permits rdf:resource="http://web.resource.org/cc/Distribution"/> + <cc:permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/> + </cc:License> + </rdf:RDF> + </metadata> + <defs id="defs43"/> + <sodipodi:namedview bordercolor="#666666" borderopacity="1.0" id="base" inkscape:current-layer="Layer_1" inkscape:cx="66.939003" inkscape:cy="60.324001" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:window-height="510" inkscape:window-width="787" inkscape:window-x="44" inkscape:window-y="58" inkscape:zoom="2.9838869" pagecolor="#ffffff"/> + <g id="g3"> + <linearGradient gradientTransform="matrix(56.9977 90.4964 90.4964 -56.9977 -27343.9609 47971.0547)" gradientUnits="userSpaceOnUse" id="XMLID_4_" x1="-244.5732" x2="-242.8169" y1="455.4199" y2="455.4199"> + <stop id="stop6" offset="0" style="stop-color:#FFFA5F"/> + <stop id="stop8" offset="1" style="stop-color:#9F3300"/> + </linearGradient> + <path d="M51.333,8.834C34.985,37.343,18.638,65.854,2.289,94.363 c-7.081,12.352,3.352,26.285,16.453,26.285c6.708,0,13.418,0,20.128,0c22.109,0,44.217,0,66.327,0c3.644,0,7.286,0,10.931,0 c13.293,0,20.963-14.273,16.452-26.031c-4.114-10.729-11.861-20.99-17.542-30.922c-8.81-15.403-17.618-30.809-26.429-46.212 c-1.813-3.167-3.622-6.333-5.434-9.5C76.601-3.516,57.616-2.03,51.333,8.834 M53.973,9.064" id="path10" style="fill:url(#XMLID_4_);"/> + <path d="M55.474,12.388c-8.247,14.279-16.492,28.559-24.739,42.839 c-5.526,9.567-11.05,19.137-16.577,28.707c-2.732,4.73-7.323,10.456-8.284,16c-3.799,21.9,34.927,15.743,46.734,15.743 c20.073,0,40.144,0,60.215,0c13.716,0,18.636-11.963,12.229-23.063c-6.462-11.195-12.927-22.388-19.389-33.582 c-7.249-12.557-14.499-25.113-21.75-37.671c-1.682-2.916-3.364-5.829-5.049-8.745C73.767,3.785,60.676,3.364,55.474,12.388" id="path12" style="fill-rule:evenodd;clip-rule:evenodd;fill:#FFF200;"/> + <path d="M55.474,12.388c-8.247,14.279-16.492,28.559-24.739,42.839c-5.526,9.567-11.05,19.137-16.577,28.707 c-2.732,4.73-7.323,10.456-8.284,16c-3.799,21.9,34.927,15.743,46.734,15.743c20.073,0,40.144,0,60.215,0 c13.716,0,18.636-11.963,12.229-23.063c-6.462-11.195-12.927-22.388-19.389-33.582c-7.249-12.557-14.499-25.113-21.75-37.671 c-1.682-2.916-3.364-5.829-5.049-8.745C73.767,3.785,60.676,3.364,55.474,12.388" id="path14" style="fill:#FFCE00;"/> + <path d="M126.731,95.522c-8.733-15.127-17.468-30.253-26.201-45.379 c-5.537-9.595-11.078-19.188-16.616-28.781c-3.938-6.821-7.459-15.689-16.813-15.689c1.013,0,5.901,10.225,6.469,11.196 c5.451,9.314,10.902,18.63,16.352,27.947c9.217,15.749,18.433,31.498,27.646,47.249c2.302,3.933,5.356,10.555,1.308,14.397 c-3.148,2.987-7.99,3.196-12.099,3.196c-7.225,0-14.448,0-21.674,0c-22.125,0-44.251,0-66.377,0c-3.598,0-7.197,0-10.794,0 c5.285,7.909,16.341,6.02,24.546,6.02c13.009,0,26.017,0,39.023,0c11.979,0,23.958,0,35.937,0c2.516,0,5.032,0,7.547,0 C125.136,115.678,131.878,104.435,126.731,95.522" id="path16" style="fill:#FFB600;"/> + <path d="M14.615,112.457c-4.483-7.751,1.908-16.103,5.793-22.834 c4.698-8.138,9.398-16.276,14.097-24.414C44.54,47.83,54.574,30.448,64.61,13.069c0.789-1.367,3.725-4.568,2.594-5.539 c-3.913-3.353-10.287,1.936-12.107,5.087c-3.129,5.417-6.258,10.835-9.386,16.252c-11.105,19.226-22.209,38.453-33.313,57.68 c-1.649,2.854-3.299,5.713-4.95,8.569c-4.771,8.265-0.075,19.162,9.658,20.446C16.124,114.65,15.294,113.615,14.615,112.457" id="path18" style="fill-rule:evenodd;clip-rule:evenodd;fill:#FFE600;"/> + <path d="M77.076,34.654c0,10.183-1.788,20.758-3.439,30.772 c-0.369,2.239-4.03,23.609-7.796,14.179c-4.247-10.632-4.832-23.419-5.958-34.696c-0.363-3.638-1.538-8.425-0.563-12.06 C61.667,24.099,77.076,25.199,77.076,34.654" id="path20" style="fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFE1;"/> + <path d="M77.076,34.654c-2.018,0.995-1.521,8.717-1.797,11.395c-0.685,6.643-1.505,13.282-2.614,19.869 c-0.79,4.701-1.301,10.862-3.954,14.981c-1.642,2.567-3.405-5.958-3.634-6.932c-2.948-12.443-4.464-25.664-5.09-38.43 c-0.272-5.52,5.164-8.854,10.277-7.622c3.87,0.933,5.217,7.36,7.688,6.738c0.009-11.451-19.755-11.453-19.746,0 c0.017,11.956,2.087,24.599,4.423,36.294c0.501,2.507,1.642,12.376,5.449,12.376c4.059-0.021,5.285-11.432,5.79-14.137 c1.261-6.765,2.139-13.605,2.887-20.444C77.084,45.722,79.281,35.942,77.076,34.654" id="path22" style="fill:#FFFFFF;"/> + <linearGradient gradientTransform="matrix(68.2284 33.0019 33.0019 -68.2284 1613.9791 39385.6641)" gradientUnits="userSpaceOnUse" id="XMLID_5_" x1="-246.981" x2="-245.2275" y1="458.29" y2="458.29"> + <stop id="stop25" offset="0" style="stop-color:#FFFA5F"/> + <stop id="stop27" offset="1" style="stop-color:#9F3300"/> + </linearGradient> + <path d="M57.957,34.654c0,10.053,1.632,20.54,3.242,30.431 c0.479,2.936,4.912,26.502,9.99,15.164c4.987-11.134,5.351-25.201,6.386-37.184c0.273-3.169,1.153-7.045,0.421-10.221 C75.628,22.587,57.957,23.788,57.957,34.654 M60.207,34.654c0-8.061,13.138-9.015,15.459-1.792c1.156,3.597-0.13,8.748-0.508,12.38 c-1.135,10.904-2.052,22.602-5.501,33.069c-2.816,8.545-5.546-10.187-5.934-12.522C62.039,55.63,60.207,44.985,60.207,34.654" id="path29" style="fill-rule:evenodd;clip-rule:evenodd;fill:url(#XMLID_5_);"/> + <path d="M77.076,96.788c0,11.964-18.555,11.964-18.555,0 C58.521,84.822,77.076,84.822,77.076,96.788" id="path31" style="fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFE1;"/> + <path d="M77.076,96.788c-2.605,1.661-2.157,6.757-7.044,8.101c-6.178,1.7-12.033-4.159-10.336-10.335 c1.439-5.23,7.657-7.767,12.341-5.021c2.91,1.704,3.164,7.913,5.915,7.256c0-14.267-22.698-12.238-20.143,1.826 c0.987,5.444,6.375,9.15,11.814,8.162C72.417,106.271,81.44,98.19,77.076,96.788" id="path33" style="fill:#FFFFFF;"/> + <linearGradient gradientTransform="matrix(68.2241 32.9998 32.9998 -68.2241 1604.682 39402.625)" gradientUnits="userSpaceOnUse" id="XMLID_6_" x1="-246.998" x2="-245.2348" y1="458.0625" y2="458.0625"> + <stop id="stop36" offset="0" style="stop-color:#FFFA5F"/> + <stop id="stop38" offset="1" style="stop-color:#9F3300"/> + </linearGradient> + <path d="M57.395,96.788c0,13.41,20.805,13.41,20.805,0 C78.2,83.376,57.395,83.375,57.395,96.788 M59.647,96.788c0-10.514,16.301-10.514,16.301,0 C75.948,107.3,59.647,107.3,59.647,96.788" id="path40" style="fill-rule:evenodd;clip-rule:evenodd;fill:url(#XMLID_6_);"/> + </g> +</svg> diff --git a/libs/python/doc/images/draft.png b/libs/python/doc/images/draft.png Binary files differnew file mode 100644 index 0000000000..0084708c9b --- /dev/null +++ b/libs/python/doc/images/draft.png diff --git a/libs/python/doc/images/home.png b/libs/python/doc/images/home.png Binary files differnew file mode 100644 index 0000000000..5584aacb09 --- /dev/null +++ b/libs/python/doc/images/home.png diff --git a/libs/python/doc/images/home.svg b/libs/python/doc/images/home.svg new file mode 100644 index 0000000000..e803a3178f --- /dev/null +++ b/libs/python/doc/images/home.svg @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill-rule:nonzero;clip-rule:nonzero;fill:#FFFFFF;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st1 "fill:none;stroke:none;"> + <!ENTITY st2 "fill:#000000;"> + <!ENTITY st3 "fill:none;stroke:#FFFFFF;stroke-width:6.3469;stroke-linejoin:round;"> + <!ENTITY st4 "fill-rule:evenodd;clip-rule:evenodd;stroke:none;"> + <!ENTITY st5 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> +]> +<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> + <g id="Layer_x0020_3" style="&st0;"> + <g style="&st4;"> + <path style="&st3;" d="M22.9,7.1L5.1,21.8l0,0c-0.3,0.3-0.5,0.8-0.5,1.2c0,0.2,0,0.4,0.1,0.6c0.3,0.6,0.9,1,1.6,1c0,0,1.1,0,2.2,0c0,2.4,0,14.2,0,14.2c0,1.1,0.8,1.9,1.8,1.9h27.4c1.1,0,1.9-0.9,1.9-2c0,0,0-11.8,0-14.2c1,0,2,0,2,0c0.8,0,1.4-0.5,1.7-1.2 + c0.1-0.2,0.1-0.4,0.1-0.6c0-0.5-0.2-1-0.7-1.4c0,0-3.6-3-4.5-3.7c0-1.2,0-6.9,0-6.9c0-1.2-0.8-2-2-2h-4.8c-1,0-1.7,0.6-1.9,1.5c-1.9-1.6-4.1-3.5-4.1-3.5l0.1,0.1c-0.7-0.7-1.8-0.8-2.7-0.1z"/> + <path style="&st2;" d="M22.9,7.1L5.1,21.8l0,0c-0.3,0.3-0.5,0.8-0.5,1.2c0,0.2,0,0.4,0.1,0.6c0.3,0.6,0.9,1,1.6,1c0,0,1.1,0,2.2,0c0,2.4,0,14.2,0,14.2c0,1.1,0.8,1.9,1.8,1.9h27.4c1.1,0,1.9-0.9,1.9-2c0,0,0-11.8,0-14.2c1,0,2,0,2,0c0.8,0,1.4-0.5,1.7-1.2 + c0.1-0.2,0.1-0.4,0.1-0.6c0-0.5-0.2-1-0.7-1.4c0,0-3.6-3-4.5-3.7c0-1.2,0-6.9,0-6.9c0-1.2-0.8-2-2-2h-4.8c-1,0-1.7,0.6-1.9,1.5c-1.9-1.6-4.1-3.5-4.1-3.5l0.1,0.1c-0.7-0.7-1.8-0.8-2.7-0.1z"/> + <path style="&st2;" d="M41.8,22.8l-5.1-4.2v-0.1L31,13.7v0l-6.5-5.5C24.2,8,24,8,23.8,8.2L6.2,22.9c-0.1,0.1-0.1,0.3,0.1,0.3h1.6H10h28.1h1.2h2.3c0.2,0,0.4-0.2,0.2-0.4z"/> + <path d="M35.8,16.8l0-5.1c0-0.2-0.1-0.4-0.3-0.4h-3.2c-0.2,0-0.3,0.1-0.3,0.3v2.2l3.9,2.9z"/> + <path d="M11.9,24.7V37c0,0.3,0.1,0.4,0.3,0.4h23.6c0.3,0,0.4-0.2,0.4-0.4V24.7H11.9z"/> + </g> + </g> + <g id="crop_x0020_marks" style="&st5;"> + <path style="&st1;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/libs/python/doc/images/important.png b/libs/python/doc/images/important.png Binary files differnew file mode 100644 index 0000000000..12c90f607a --- /dev/null +++ b/libs/python/doc/images/important.png diff --git a/libs/python/doc/images/important.svg b/libs/python/doc/images/important.svg new file mode 100644 index 0000000000..dd84f3fe36 --- /dev/null +++ b/libs/python/doc/images/important.svg @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill:#FFFFFF;stroke:none;"> + <!ENTITY st1 "fill:#FFFFFF;stroke-width:6.6112;stroke-linecap:round;stroke-linejoin:round;"> + <!ENTITY st2 "stroke:#FFFFFF;stroke-width:6.6112;"> + <!ENTITY st3 "fill:none;stroke:none;"> + <!ENTITY st4 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st5 "stroke:none;"> +]> +<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> + <g id="Layer_x0020_3" style="&st4;"> + <g> + <path style="&st2;" d="M41.7,35.3L26.6,9.4c-0.6-1-1.7-1.7-2.9-1.6c-1.2,0-2.3,0.7-2.9,1.7L6.3,35.4c-0.6,1-0.6,2.3,0,3.3c0.6,1,1.7,1.6,2.9,1.6h29.6c1.2,0,2.3-0.6,2.9-1.7c0.6-1,0.6-2.3,0-3.3z"/> + <path style="&st1;" d="M23.7,11L9.2,37h29.6L23.7,11z"/> + <path style="&st0;" d="M23.7,11.9L10.3,36.1h27.5l-14-24.1z"/> + <g> + <path style="&st5;" d="M24.1,34c-1.1,0-1.8-0.8-1.8-1.8c0-1.1,0.7-1.8,1.8-1.8c1.1,0,1.8,0.7,1.8,1.8c0,1-0.7,1.8-1.8,1.8h0z M22.9,29.3l-0.4-9.1h3.2l-0.4,9.1h-2.3z"/> + </g> + </g> + </g> + <g id="crop_x0020_marks" style="&st4;"> + <path style="&st3;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/libs/python/doc/images/next.png b/libs/python/doc/images/next.png Binary files differnew file mode 100644 index 0000000000..59800b4e87 --- /dev/null +++ b/libs/python/doc/images/next.png diff --git a/libs/python/doc/images/next.svg b/libs/python/doc/images/next.svg new file mode 100644 index 0000000000..75fa83ed8c --- /dev/null +++ b/libs/python/doc/images/next.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill:none;stroke:none;"> + <!ENTITY st1 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:7.5901;stroke-linejoin:round;"> + <!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st3 "stroke:none;"> +]> +<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> + <g id="Layer_x0020_3" style="&st2;"> + <g> + <path style="&st1;" d="M22.4,41.1c0,0.3,0.3,0.3,0.5,0.2l16.6-16.9c0.5-0.5,0.4-0.7,0-1L22.9,6.7c-0.1-0.1-0.4-0.1-0.4,0.1v10H8.9c-0.3,0-0.5,0.2-0.5,0.4l0,13.3C8.4,30.9,8.6,31,9,31h13.5l-0.1,10.1z"/> + <path style="&st3;" d="M22.4,41.1c0,0.3,0.3,0.3,0.5,0.2l16.6-16.9c0.5-0.5,0.4-0.7,0-1L22.9,6.7c-0.1-0.1-0.4-0.1-0.4,0.1v10H8.9c-0.3,0-0.5,0.2-0.5,0.4l0,13.3C8.4,30.9,8.6,31,9,31h13.5l-0.1,10.1z"/> + </g> + </g> + <g id="crop_x0020_marks" style="&st2;"> + <path style="&st0;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/libs/python/doc/images/next_disabled.png b/libs/python/doc/images/next_disabled.png Binary files differnew file mode 100644 index 0000000000..10a8c59d7b --- /dev/null +++ b/libs/python/doc/images/next_disabled.png diff --git a/libs/python/doc/images/note.png b/libs/python/doc/images/note.png Binary files differnew file mode 100644 index 0000000000..d0c3c645ab --- /dev/null +++ b/libs/python/doc/images/note.png diff --git a/libs/python/doc/images/note.svg b/libs/python/doc/images/note.svg new file mode 100644 index 0000000000..648299d26f --- /dev/null +++ b/libs/python/doc/images/note.svg @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill:none;stroke:#FFFFFF;stroke-width:12.1438;stroke-linejoin:round;"> + <!ENTITY st1 "fill:none;stroke-width:1.2429;"> + <!ENTITY st2 "fill:#FFFFFF;stroke:none;"> + <!ENTITY st3 "fill:none;stroke:#FFFFFF;stroke-width:12.7649;stroke-linejoin:round;"> + <!ENTITY st4 "fill:#FFFFFF;stroke-width:6.3824;stroke-linejoin:round;"> + <!ENTITY st5 "fill:none;stroke:none;"> + <!ENTITY st6 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st7 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:12.7649;stroke-linejoin:round;"> + <!ENTITY st8 "stroke:none;"> + <!ENTITY st9 "fill:none;stroke-width:4.9715;stroke-linejoin:round;"> +]> +<svg xmlns="http://www.w3.org/2000/svg" width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve"> + <g id="Layer_x0020_1" style="&st6;"> + <path style="&st0;" d="M35.7,19.8v18.9H11V8.8h13.9l10.8,11z"/> + <path style="&st3;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/> + <path style="&st7;" d="M35.7,8.8H11v29.9h24.7V8.8z"/> + <path style="&st4;" d="M35.7,8.8H11v29.9h24.7V8.8z"/> + <path style="&st2;" d="M35.7,8.8H11v29.9h24.7V8.8z"/> + </g> + <g id="Layer_x0020_4" style="&st6;"> + <path style="&st9;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/> + <path style="&st8;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/> + <path style="&st8;" d="M20.6,14.7l-2.5,2.5L17,13.4l3.6,1.3z"/> + <path style="&st1;" d="M19.6,22.2l3-0.3l2.4-2.4l0.4-2.8"/> + <path style="&st2;" d="M20.4,14.9L18.3,17l1.6,5.2l2.7-0.3l2.4-2.4l0.3-2.4l-5-2.2z"/> + </g> + <g id="crop" style="&st6;"> + <path style="&st5;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/libs/python/doc/images/prev.png b/libs/python/doc/images/prev.png Binary files differnew file mode 100644 index 0000000000..d88a40f923 --- /dev/null +++ b/libs/python/doc/images/prev.png diff --git a/libs/python/doc/images/prev.svg b/libs/python/doc/images/prev.svg new file mode 100644 index 0000000000..6d88ffdd0d --- /dev/null +++ b/libs/python/doc/images/prev.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill:none;stroke:none;"> + <!ENTITY st1 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:7.5901;stroke-linejoin:round;"> + <!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st3 "stroke:none;"> +]> +<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> + <g id="Layer_x0020_3" style="&st2;"> + <g> + <path style="&st1;" d="M25.6,6.9c0-0.3-0.3-0.3-0.5-0.2L8.4,23.6c-0.5,0.5-0.4,0.7,0,1l16.6,16.6c0.1,0.1,0.4,0.1,0.4-0.1v-10h13.6c0.3,0,0.5-0.2,0.5-0.4l0-13.3c0-0.3-0.2-0.5-0.5-0.5H25.5l0.1-10.1z"/> + <path style="&st3;" d="M25.6,6.9c0-0.3-0.3-0.3-0.5-0.2L8.4,23.6c-0.5,0.5-0.4,0.7,0,1l16.6,16.6c0.1,0.1,0.4,0.1,0.4-0.1v-10h13.6c0.3,0,0.5-0.2,0.5-0.4l0-13.3c0-0.3-0.2-0.5-0.5-0.5H25.5l0.1-10.1z"/> + </g> + </g> + <g id="crop_x0020_marks" style="&st2;"> + <path style="&st0;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/libs/python/doc/images/prev_disabled.png b/libs/python/doc/images/prev_disabled.png Binary files differnew file mode 100644 index 0000000000..ab3c17e02d --- /dev/null +++ b/libs/python/doc/images/prev_disabled.png diff --git a/libs/python/doc/images/smiley.png b/libs/python/doc/images/smiley.png Binary files differnew file mode 100644 index 0000000000..30a77f71ce --- /dev/null +++ b/libs/python/doc/images/smiley.png diff --git a/libs/python/doc/images/tip.png b/libs/python/doc/images/tip.png Binary files differnew file mode 100644 index 0000000000..5c4aab3bb3 --- /dev/null +++ b/libs/python/doc/images/tip.png diff --git a/libs/python/doc/images/tip.svg b/libs/python/doc/images/tip.svg new file mode 100644 index 0000000000..cd437a5e85 --- /dev/null +++ b/libs/python/doc/images/tip.svg @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --><svg height="1052.3622047" id="svg2" inkscape:version="0.42.2" sodipodi:docbase="/home/sergio/tmp/downloads" sodipodi:docname="lamp.svg" sodipodi:version="0.32" width="744.09448819" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> + <metadata> + <rdf:RDF xmlns:cc="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> + <cc:Work rdf:about=""> + <dc:title>lamp</dc:title> + <dc:description></dc:description> + <dc:subject> + <rdf:Bag> + <rdf:li>office</rdf:li> + <rdf:li></rdf:li> + <rdf:li>lamp</rdf:li> + </rdf:Bag> + </dc:subject> + <dc:publisher> + <cc:Agent rdf:about="http://www.openclipart.org/"> + <dc:title>Open Clip Art Library</dc:title> + </cc:Agent> + </dc:publisher> + <dc:creator> + <cc:Agent> + <dc:title>Sergio Luiz Araujo Silva</dc:title> + </cc:Agent> + </dc:creator> + <dc:rights> + <cc:Agent> + <dc:title>Public Domain</dc:title> + </cc:Agent> + </dc:rights> + <dc:date>set 2005</dc:date> + <dc:format>image/svg+xml</dc:format> + <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> + <cc:license rdf:resource="http://web.resource.org/cc/PublicDomain"/> + <dc:language>en</dc:language> + </cc:Work> + <cc:License rdf:about="http://web.resource.org/cc/PublicDomain"> + <cc:permits rdf:resource="http://web.resource.org/cc/Reproduction"/> + <cc:permits rdf:resource="http://web.resource.org/cc/Distribution"/> + <cc:permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/> + </cc:License> + </rdf:RDF> + </metadata> + <defs id="defs4"> + <linearGradient id="linearGradient13125"> + <stop id="stop13127" offset="0.0000000" style="stop-color:#ffffff;stop-opacity:1.0000000;"/> + <stop id="stop13129" offset="1" style="stop-color:#fffeff;stop-opacity:0;"/> + </linearGradient> + <linearGradient id="linearGradient12389"> + <stop id="stop12391" offset="0.0000000" style="stop-color:#fefefe;stop-opacity:1.0000000;"/> + <stop id="stop12393" offset="1.0000000" style="stop-color:#fffefe;stop-opacity:1.0000000;"/> + </linearGradient> + <radialGradient cx="358.25909" cy="186.06468" fx="358.25909" fy="186.06468" gradientTransform="matrix(1.000001,-8.244061e-7,3.143917e-7,0.381356,-4.028738e-4,115.1081)" gradientUnits="userSpaceOnUse" id="radialGradient13131" inkscape:collect="always" r="27.486719" xlink:href="#linearGradient13125"/> + <radialGradient cx="358.25909" cy="186.06468" fx="358.25909" fy="186.06468" gradientTransform="matrix(1.000001,-8.244061e-7,3.143917e-7,0.381356,-4.028738e-4,115.1081)" gradientUnits="userSpaceOnUse" id="radialGradient14587" inkscape:collect="always" r="27.486719" xlink:href="#linearGradient13125"/> + <radialGradient cx="358.25909" cy="186.06468" fx="358.25909" fy="186.06468" gradientTransform="matrix(1.000001,-8.244061e-7,3.143917e-7,0.381356,-4.028738e-4,115.1081)" gradientUnits="userSpaceOnUse" id="radialGradient15390" inkscape:collect="always" r="27.486719" xlink:href="#linearGradient13125"/> + <radialGradient cx="358.25909" cy="186.06468" fx="358.25909" fy="186.06468" gradientTransform="matrix(1.000001,-8.244061e-7,3.143917e-7,0.381356,-4.028738e-4,115.1081)" gradientUnits="userSpaceOnUse" id="radialGradient16141" inkscape:collect="always" r="27.486719" xlink:href="#linearGradient13125"/> + </defs> + <sodipodi:namedview bordercolor="#666666" borderopacity="1.0" id="base" inkscape:current-layer="layer1" inkscape:cx="344.34505" inkscape:cy="795.78292" inkscape:document-units="px" inkscape:guide-bbox="true" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:window-height="693" inkscape:window-width="1024" inkscape:window-x="0" inkscape:window-y="25" inkscape:zoom="0.72123084" pagecolor="#ffffff" showguides="true"/> + <g id="layer1" inkscape:groupmode="layer" inkscape:label="Layer 1"> + <path d="M 369.44028,121.86683 C 302.64703,119.68096 242.59223,184.30679 250.47188,250.87980 C 252.47522,280.21980 267.84094,306.49880 285.94332,328.82253 C 303.71281,358.65039 312.13900,393.24133 313.51068,427.73030 C 317.00419,446.97288 338.01608,454.57063 355.35334,455.26572 C 375.18456,456.91501 395.94281,455.09265 414.43470,447.69729 C 430.92724,435.70557 427.37713,413.20597 430.74488,395.55648 C 434.70351,361.57615 449.78002,329.76555 471.07843,303.26619 C 504.41026,252.31528 488.56419,176.76397 437.75400,143.26422 C 417.82956,129.49394 393.70573,121.69096 369.44028,121.86683 z " id="path1384" style="opacity:1.0000000;fill:#f3f2f3;fill-opacity:0.83333331;stroke:#000000;stroke-width:0.58960420;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000"/> + <path d="M 425.72698,154.07768 C 437.68158,164.87540 453.68534,182.03604 451.17873,203.82428 C 455.99913,200.54641 460.81954,197.26853 465.63995,193.99066 C 459.85546,170.27425 448.28648,162.75442 425.72698,154.07768 z " id="path2153" sodipodi:nodetypes="cccc" style="fill:#fefefe;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 506.99897 296.94009 A 37.120701 18.718985 0 1 1 432.75756,296.94009 A 37.120701 18.718985 0 1 1 506.99897 296.94009 z" id="path2881" sodipodi:cx="469.87827" sodipodi:cy="296.94009" sodipodi:rx="37.120701" sodipodi:ry="18.718985" sodipodi:type="arc" style="opacity:1.0000000;color:#000000;fill:#fefefe;fill-opacity:1.0000000;fill-rule:nonzero;stroke:none;stroke-width:0.64700001;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" transform="matrix(0.818103,0.000000,0.000000,0.896150,-13.89510,-26.68653)"/> + <path d="M 359.20536,314.30802 L 336.64585,244.31570 C 362.29042,230.62575 382.72895,234.28926 403.16748,243.15881 L 379.45107,315.46491 L 379.45107,315.46491" id="path3617" sodipodi:nodetypes="ccccc" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#8f9595;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 513.73605 514.32300 A 52.508934 11.885468 0 1 1 408.71818,514.32300 A 52.508934 11.885468 0 1 1 513.73605 514.32300 z" id="path4361" sodipodi:cx="461.22711" sodipodi:cy="514.32300" sodipodi:rx="52.508934" sodipodi:ry="11.885468" sodipodi:type="arc" style="opacity:1.0000000;color:#000000;fill:#a0a0a0;fill-opacity:1.0000000;fill-rule:nonzero;stroke:none;stroke-width:0.64700001;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible" transform="matrix(0.982435,0.000000,0.000000,1.387810,-83.52495,-281.2705)"/> + <path d="M 315.87677,433.07959 C 319.14672,442.90428 329.03398,448.82383 338.76816,450.68840 C 362.00206,456.37952 386.74882,455.38004 409.63484,448.57985 C 414.28840,447.19363 419.18392,445.42184 422.06530,441.25295 C 423.42527,439.84003 425.68582,434.46169 424.07088,434.30126 C 411.81432,444.17256 395.75685,447.78808 380.34111,448.56322 C 362.85475,449.05661 344.64886,448.26521 328.51659,440.79114 C 324.02706,438.71576 319.76022,436.14612 315.87677,433.07959 z " id="path4363" style="fill:#d6dee6;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 400.47436,522.16227 C 396.48542,528.09177 392.49650,534.02126 388.50756,539.95076 C 383.93367,541.47295 366.98819,546.44954 353.57745,538.01018 C 350.34318,532.29631 347.10892,526.58244 343.87465,520.86856 C 364.35835,531.64946 396.48542,523.99502 400.47436,522.16227 z " id="path5094" sodipodi:nodetypes="ccccc" style="fill:#090a0c;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 419.65600,444.27781 C 419.97026,446.39906 420.28452,448.52031 420.59878,450.64156 C 421.46299,450.95582 422.32720,451.27008 423.19142,451.58434 C 423.19142,452.91994 423.19142,454.25554 423.19142,455.59114 C 422.32720,455.98397 421.46299,456.37678 420.59878,456.76961 C 420.36308,459.20512 420.12739,461.64063 419.89170,464.07614 C 420.52021,464.23327 421.14873,464.39039 421.77725,464.54753 C 421.69869,466.59021 421.62012,468.63289 421.54156,470.67558 C 420.83447,471.46123 420.12739,472.24688 419.42030,473.03253 C 419.57744,474.05387 419.73456,475.07522 419.89170,476.09656 C 420.91303,477.11790 421.93438,478.13925 422.95572,479.16058 C 422.87716,480.18193 422.79859,481.20328 422.72003,482.22461 C 422.01294,483.01026 421.30586,483.79591 420.59878,484.58156 C 420.36308,485.05294 420.12739,485.52433 419.89170,485.99572 C 419.57744,486.70280 419.26317,487.40989 418.94892,488.11697 C 419.10605,489.05975 419.26317,490.00253 419.42030,490.94531 C 419.89170,491.65239 420.36308,492.35947 420.83447,493.06655 C 420.67734,494.71641 420.52021,496.36627 420.36308,498.01614 C 415.02067,505.24410 409.67827,512.47206 404.33587,519.70003 C 403.15740,520.24998 401.97892,520.79994 400.80045,521.34989 C 397.81498,522.29266 394.82952,523.23544 391.84406,524.17822 C 386.34452,524.80674 380.84498,525.43525 375.34545,526.06378 C 371.96717,525.90664 368.58887,525.74952 365.21059,525.59238 C 362.46082,525.51382 359.71105,525.43525 356.96128,525.35669 C 353.42587,524.49247 349.89045,523.62827 346.35503,522.76405 C 345.17656,521.82128 343.99809,520.87850 342.81962,519.93572 C 339.75559,517.81447 336.69157,515.69322 333.62754,513.57197 C 328.75652,508.30813 323.88551,503.04429 319.01448,497.78044 C 319.01448,496.52341 319.01448,495.26636 319.01448,494.00933 C 319.87870,494.00933 320.74291,494.00933 321.60712,494.00933 C 321.13574,492.83086 320.66435,491.65239 320.19296,490.47392 C 319.09305,488.19554 317.99314,485.91716 316.89323,483.63878 C 316.89323,482.93170 316.89323,482.22461 316.89323,481.51753 C 318.38597,480.26049 319.87869,479.00345 321.37143,477.74642 C 320.03583,475.54660 318.70022,473.34679 317.36462,471.14697 C 317.28606,470.83271 317.20748,470.51845 317.12892,470.20419 C 318.46453,468.39720 319.80013,466.59021 321.13574,464.78322 C 320.74291,463.68331 320.35009,462.58341 319.95726,461.48350 C 319.09305,460.38359 318.22883,459.28369 317.36462,458.18378 C 317.12892,457.31956 316.89323,456.45536 316.65753,455.59114 C 317.75744,454.17697 318.85735,452.76281 319.95726,451.34864 C 319.87870,450.01304 319.80013,448.67744 319.72157,447.34184 C 319.32874,446.71332 318.93592,446.08480 318.54310,445.45628 C 318.62166,444.74920 318.70023,444.04212 318.77879,443.33503 C 319.48588,443.25647 320.19296,443.17790 320.90004,443.09934 C 324.04263,445.22059 327.18523,447.34184 330.32782,449.46309 C 348.08347,456.92674 391.76550,461.09068 419.65600,444.27781 z " id="path7284" sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccc" style="fill:#fba246;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 389.86281,523.00744 C 389.46998,521.82897 391.23336,522.26765 390.84054,521.08918 C 383.37688,521.01061 375.91323,520.93205 368.44957,520.85348 C 368.44957,520.53923 368.44957,520.22496 368.44957,519.91070 C 374.10624,519.75357 379.76290,519.59645 385.41957,519.43932 C 388.24790,518.88937 391.07623,518.33941 393.90457,517.78946 C 395.39730,517.55377 396.89003,517.31807 398.38277,517.08237 C 401.44679,515.03969 404.51082,512.99701 407.57485,510.95432 C 407.49629,510.64006 407.41771,510.32580 407.33915,510.01153 C 401.36822,510.48292 395.39730,510.95432 389.42637,511.42571 C 387.30512,511.81853 385.18387,512.21135 383.06263,512.60418 C 379.13438,512.36849 375.20615,512.13279 371.27790,511.89710 C 369.78518,511.73997 368.29244,511.58284 366.79971,511.42571 C 364.44277,510.32580 362.08582,509.22589 359.72888,508.12598 C 376.54175,507.18320 396.89003,507.18320 415.11707,493.98432 C 391.31192,502.15506 371.27790,500.19093 355.01499,497.99112 C 375.91322,494.06288 396.57577,493.19867 417.00262,478.42849 C 387.38368,489.42756 366.24975,485.57788 349.35832,483.84946 C 371.51360,479.29269 403.56804,478.27136 414.40998,466.64376 C 383.06263,474.89306 355.95776,473.47890 338.75207,469.47210 C 352.81517,467.58654 366.87827,465.70098 380.94137,463.81543 C 374.10624,463.18691 367.27110,462.55840 360.43596,461.92988 C 373.32059,459.73006 386.20522,457.53024 399.08985,455.33043 C 381.88416,456.19465 346.53000,460.82997 319.89653,444.48849 C 323.66763,447.63108 328.61721,449.83090 331.20985,453.91627 C 327.28161,453.44487 323.35338,452.97349 319.42513,452.50210 C 319.66083,453.83770 319.89653,455.17330 320.13222,456.50890 C 324.13902,459.02298 328.14582,461.53704 332.15263,464.05112 C 327.43875,466.25093 322.72485,468.45075 318.01096,470.65057 C 323.90332,472.53612 329.79568,474.42169 335.68805,476.30724 C 330.03138,478.66418 322.48915,476.30724 318.71804,483.37807 C 325.55318,486.59923 335.21666,487.22774 339.22346,493.04154 C 333.33110,493.51293 326.73166,489.27043 321.54639,494.45571 C 327.67444,498.06968 333.80249,501.68367 339.93055,505.29765 C 336.55226,504.82626 333.17397,504.35487 329.79568,503.88348 C 334.58814,509.30445 341.26727,513.37780 346.05972,518.79877 C 362.00838,520.29150 373.91416,521.51471 389.86281,523.00744 z " id="path6556" sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccc" style="fill:#ffc080;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 410.63580,448.38806 C 375.91016,459.46570 347.07688,453.33765 330.49970,448.38806 C 332.54238,449.09515 334.58507,449.80223 336.62775,450.50931 C 365.30391,460.56561 396.80839,453.41621 407.80747,450.27362 C 408.75025,449.64510 409.69303,449.01658 410.63580,448.38806 z " id="path7286" sodipodi:nodetypes="ccccc" style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 431.22109,368.33927 C 427.74256,388.71364 424.26401,409.08801 420.78546,429.46237 C 416.60557,437.06563 407.94091,440.30372 400.07083,442.61238 C 391.48668,445.18530 382.40444,445.05799 373.54205,444.61656 C 371.08048,446.38986 364.99205,442.92177 370.06503,441.81235 C 377.17154,440.98795 384.60188,442.10538 391.38552,439.26558 C 401.04319,435.47671 410.26670,429.97354 417.05844,422.00834 C 421.19961,403.95301 425.34070,385.89766 429.48184,367.84233 C 430.06159,368.00798 430.64135,368.17360 431.22109,368.33927 z " id="path3629" style="fill:#ffffff;fill-opacity:0.64285713;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 353.42087,428.84088 L 351.10708,419.00725 L 351.68553,378.22661 L 353.13164,373.45440 L 353.05576,339.28565 L 349.95018,336.28751 L 349.37173,316.04336 C 363.86558,304.49563 376.56238,306.21837 388.70625,316.23514 L 388.12780,336.28907 L 385.23556,339.18131 L 384.65711,373.58108 L 386.39245,378.21491 L 385.81401,427.68398 L 382.34331,429.99778 L 374.24503,428.84088 L 371.35278,425.37019 L 366.14675,425.37019 L 360.94071,429.41933 L 353.42087,428.84088 z " id="path3619" sodipodi:nodetypes="ccccccccccccccccccc" style="fill:#c1c1c1;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#9b989f;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 358.25832,325.31572 L 358.25832,416.41507" id="path5096" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 380.15345,325.31572 L 380.15345,416.41507" id="path5824" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 361.91098,325.31572 L 361.91098,416.41507" id="path5826" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#8f8f92;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 376.52161,325.31572 L 376.52161,416.41507" id="path6554" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#8f8f92;stroke-width:0.91160071px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <g id="g9475" transform="matrix(0.911601,0.000000,0.000000,0.911601,328.5961,-156.2531)"> + <path d="M 86.864034,673.56687 L 79.199560,676.97330 L 77.155700,678.67652 L 75.793127,679.69845 L 65.573829,679.35780 L 65.403508,678.33587 L 70.683478,676.97330 C 70.683478,676.97330 74.430554,676.63266 75.111841,676.46234 C 75.793127,676.29201 78.688595,674.92944 78.688595,674.92944 L 84.649852,671.52301 L 87.034355,671.52301 L 86.864034,673.56687 z " id="path8741" style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 91.973683,686.34099 L 88.056285,686.17067 L 85.331139,687.53324 L 81.073098,689.23646 L 77.836987,691.45064 L 75.111841,692.30225 L 70.853800,692.64289 L 69.320905,693.15386 L 71.024122,693.83514 L 75.963449,693.83514 L 80.221490,694.51643 L 83.627923,693.83514 L 87.545320,690.42871 C 87.545320,690.42871 90.270466,689.23646 90.951753,688.89581 C 91.633039,688.55517 93.165934,687.87388 93.165934,687.87388 L 91.973683,686.34099 z " id="path8743" style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 94.017542,700.30736 L 89.078215,703.03251 L 85.842104,705.07637 L 83.457601,706.94991 L 77.836987,708.14216 L 75.622806,708.14216 L 81.584063,710.01570 L 86.353069,707.97184 L 91.292396,705.58733 L 92.825291,704.05444 L 94.017542,700.30736 z " id="path8745" style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 91.462718,717.85049 C 91.462718,717.85049 81.924706,721.59757 81.584063,722.27885 C 81.243420,722.96014 78.688595,723.98207 78.688595,723.98207 L 72.897660,724.66336 L 71.024122,725.68529 L 76.644736,726.36657 L 82.435671,724.49304 L 86.693712,724.32271 L 89.929823,722.10853 L 91.462718,720.40532 L 91.462718,717.85049 z " id="path8747" style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + </g> + <path d="M 378.14273,525.28637 C 377.57434,530.51553 378.00099,537.83204 377.43261,543.06120 C 372.27918,543.00443 367.82875,543.82657 360.97078,541.72320 C 359.43614,536.89190 356.80919,529.30796 355.27454,524.47667 C 356.26507,524.72572 356.68741,524.86790 357.82038,524.93742 C 358.95335,525.00694 360.79692,524.96593 361.90337,525.03791 C 363.00981,525.10990 364.25012,525.06768 365.31257,525.13480 C 366.37503,525.20191 367.41113,525.22689 368.41214,525.28180 C 369.41314,525.33669 370.37905,525.38365 371.30113,525.41898 C 372.22321,525.45432 374.35115,525.55378 375.17683,525.56221 C 376.00251,525.57065 375.56381,525.48806 376.27564,525.46225 C 376.98745,525.43643 377.56225,525.35378 378.14273,525.28637 z " id="path10207" sodipodi:nodetypes="ccccsssssssc" style="fill:#ffffff;fill-opacity:0.31547615;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"/> + <path d="M 467.06377,199.37552 L 453.69293,208.53364 L 451.86130,221.53816 L 468.71223,214.21167 L 467.06377,199.37552 z " id="path16869" style="fill:#fefefe;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;opacity:1.0000000;color:#000000;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0;visibility:visible;display:inline;overflow:visible"/> + </g> +</svg> diff --git a/libs/python/doc/images/toc-blank.png b/libs/python/doc/images/toc-blank.png Binary files differnew file mode 100644 index 0000000000..6ffad17a0c --- /dev/null +++ b/libs/python/doc/images/toc-blank.png diff --git a/libs/python/doc/images/toc-minus.png b/libs/python/doc/images/toc-minus.png Binary files differnew file mode 100644 index 0000000000..abbb020c8e --- /dev/null +++ b/libs/python/doc/images/toc-minus.png diff --git a/libs/python/doc/images/toc-plus.png b/libs/python/doc/images/toc-plus.png Binary files differnew file mode 100644 index 0000000000..941312ce0d --- /dev/null +++ b/libs/python/doc/images/toc-plus.png diff --git a/libs/python/doc/images/up.png b/libs/python/doc/images/up.png Binary files differnew file mode 100644 index 0000000000..17d9c3ec49 --- /dev/null +++ b/libs/python/doc/images/up.png diff --git a/libs/python/doc/images/up.svg b/libs/python/doc/images/up.svg new file mode 100644 index 0000000000..d31aa9c809 --- /dev/null +++ b/libs/python/doc/images/up.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill:none;stroke:none;"> + <!ENTITY st1 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:7.5901;stroke-linejoin:round;"> + <!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st3 "stroke:none;"> +]> +<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> + <g id="Layer_x0020_3" style="&st2;"> + <g> + <path style="&st1;" d="M41.1,25.6c0.3,0,0.3-0.3,0.2-0.5L24.4,8.4c-0.5-0.5-0.7-0.4-1,0L6.7,25.1c-0.1,0.1-0.1,0.4,0.1,0.4h10v13.6c0,0.3,0.2,0.5,0.4,0.5l13.3,0c0.3,0,0.5-0.2,0.5-0.5V25.5l10.1,0.1z"/> + <path style="&st3;" d="M41.1,25.6c0.3,0,0.3-0.3,0.2-0.5L24.4,8.4c-0.5-0.5-0.7-0.4-1,0L6.7,25.1c-0.1,0.1-0.1,0.4,0.1,0.4h10v13.6c0,0.3,0.2,0.5,0.4,0.5l13.3,0c0.3,0,0.5-0.2,0.5-0.5V25.5l10.1,0.1z"/> + </g> + </g> + <g id="crop_x0020_marks" style="&st2;"> + <path style="&st0;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/libs/python/doc/images/up_disabled.png b/libs/python/doc/images/up_disabled.png Binary files differnew file mode 100644 index 0000000000..e22bc87121 --- /dev/null +++ b/libs/python/doc/images/up_disabled.png diff --git a/libs/python/doc/images/warning.png b/libs/python/doc/images/warning.png Binary files differnew file mode 100644 index 0000000000..1c33db8f34 --- /dev/null +++ b/libs/python/doc/images/warning.png diff --git a/libs/python/doc/images/warning.svg b/libs/python/doc/images/warning.svg new file mode 100644 index 0000000000..fc8d7484cb --- /dev/null +++ b/libs/python/doc/images/warning.svg @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill:#000000;stroke:#FFFFFF;stroke-width:7.9139;stroke-linejoin:round;"> + <!ENTITY st1 "fill-rule:nonzero;clip-rule:nonzero;fill:#FFFFFF;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st2 "fill:none;stroke:none;"> + <!ENTITY st3 "fill:#000000;"> + <!ENTITY st4 "fill-rule:evenodd;clip-rule:evenodd;stroke:none;"> + <!ENTITY st5 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> +]> +<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> + <g id="Layer_x0020_4" style="&st1;"> + <g style="&st4;"> + <path style="&st0;" d="M16.4,42.3L5.7,31.6V16.4L16.4,5.7h15.2l10.7,10.7v15.2L31.6,42.3H16.4z"/> + <path style="&st3;" d="M16.4,42.3L5.7,31.6V16.4L16.4,5.7h15.2l10.7,10.7v15.2L31.6,42.3H16.4z"/> + <path d="M11.7,17.7l18.7,18.7l5.9-5.9L17.6,11.7l-5.9,5.9z"/> + <path d="M11.7,30.5l5.9,5.9l18.7-18.7l-5.9-5.9L11.7,30.5z"/> + </g> + </g> + <g id="crop_x0020_marks" style="&st5;"> + <path style="&st2;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/libs/python/doc/python.qbk b/libs/python/doc/python.qbk index b3e7eceb58..0a3b7d0dd6 100644 --- a/libs/python/doc/python.qbk +++ b/libs/python/doc/python.qbk @@ -1,5 +1,5 @@ [book Boost.Python - [quickbook 1.7] + [quickbook 1.6] [authors [Abrahams, David], [Seefeld, Stefan]] [copyright 2002 - 2015 David Abrahams, Stefan Seefeld] [category inter-language support] diff --git a/libs/python/doc/reference.qbk b/libs/python/doc/reference.qbk index bc5ecf6e94..ae97393cad 100644 --- a/libs/python/doc/reference.qbk +++ b/libs/python/doc/reference.qbk @@ -1,5 +1,5 @@ [book Boost.Python Reference Manual - [quickbook 1.7] + [quickbook 1.6] [authors [Abrahams, David], [Seefeld, Stefan]] [copyright 2002 2003 2004 2005 2015 David Abrahams, Stefan Seefeld] [id reference] diff --git a/libs/python/doc/rst.css b/libs/python/doc/rst.css new file mode 100644 index 0000000000..afd9a98c31 --- /dev/null +++ b/libs/python/doc/rst.css @@ -0,0 +1,149 @@ +@import url("doc/src/boostbook.css"); +@import url("doc/src/docutils.css"); +/* Copyright David Abrahams 2006. Distributed under the Boost + Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + */ + +dl.docutils dt { + font-weight: bold } + +img.boost-logo { + border: none; + vertical-align: middle +} + +pre.literal-block span.concept { + font-style: italic; +} + +.nav { +display: inline; +list-style-type: none; +} + +.prevpage { +padding-top: -5px; +text-align: left; +float: left; +} + +.nextpage { +padding-top: -20px; +text-align: right; +float: right; +} + +div.small { + font-size: smaller } + +h2 a { + font-size: 90%; +} +h3 a { + font-size: 80%; +} +h4 a { + font-size: 70%; +} +h5 a { + font-size: 60%; +} + +dl,table +{ + text-align: left; + font-size: 10pt; + line-height: 1.15; +} + + +/*============================================================================= + Tables +=============================================================================*/ + +/* The only clue docutils gives us that tables are logically tables, + and not, e.g., footnotes, is that they have border="1". Therefore + we're keying off of that. We used to manually patch docutils to + add a "table" class to all logical tables, but that proved much too + fragile. +*/ + + table[border="1"] + { + width: 92%; + margin-left: 4%; + margin-right: 4%; + } + + table[border="1"] + { + padding: 4px; + } + + /* Table Cells */ + table[border="1"] tr td + { + padding: 0.5em; + text-align: left; + font-size: 9pt; + } + + table[border="1"] tr th + { + padding: 0.5em 0.5em 0.5em 0.5em; + border: 1pt solid white; + font-size: 80%; + } + + @media screen + { + + /* Tables */ + table[border="1"] tr td + { + border: 1px solid #DCDCDC; + } + + table[border="1"] tr th + { + background-color: #F0F0F0; + border: 1px solid #DCDCDC; + } + + pre, + .screen + { + border: 1px solid #DCDCDC; + } + + td pre + td .screen + { + border: 0px + } + + .sidebar pre + { + border: 0px + } + + } + + pre, + .screen + { + font-size: 9pt; + display: block; + margin: 1pc 4% 0pc 4%; + padding: 0.5pc 0.5pc 0.5pc 0.5pc; + } + + /* Program listings in tables don't get borders */ + td pre, + td .screen + { + margin: 0pc 0pc 0pc 0pc; + padding: 0pc 0pc 0pc 0pc; + } + diff --git a/libs/python/doc/tutorial.qbk b/libs/python/doc/tutorial.qbk index 3992a50e01..74126476c1 100644 --- a/libs/python/doc/tutorial.qbk +++ b/libs/python/doc/tutorial.qbk @@ -1,5 +1,5 @@ [article Boost.Python Tutorial - [quickbook 1.7] + [quickbook 1.6] [authors [de Guzman, Joel], [Abrahams, David]] [copyright 2002 2003 2004 2005 Joel de Guzman, David Abrahams] [category inter-language support] @@ -1758,13 +1758,13 @@ sounds/ \_\_init\_\_.py core/ \_\_init\_\_.py - _core.pyd + \_core.pyd filters/ \_\_init\_\_.py - _filters.pyd + \_filters.pyd io/ \_\_init\_\_.py - _io.pyd + \_io.pyd ] Note that we created a directory for each extension module, and added a diff --git a/libs/python/src/SConscript b/libs/python/src/SConscript new file mode 100644 index 0000000000..a1d3de6baf --- /dev/null +++ b/libs/python/src/SConscript @@ -0,0 +1,44 @@ +# -*- python -*- +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +Import('env') + +env.AppendUnique(CPPDEFINES = ["${LINK_DYNAMIC and 'BOOST_PYTHON_DYN_LINK=1' or ''}"]) +env.AppendUnique(CPPDEFINES = ['BOOST_PYTHON_SOURCE']) + +env.BoostLibrary( + 'python', + ['numeric.cpp', + 'list.cpp', + 'long.cpp', + 'dict.cpp', + 'tuple.cpp', + 'str.cpp', + 'slice.cpp', + 'converter/from_python.cpp', + 'converter/registry.cpp', + 'converter/type_id.cpp', + 'object/enum.cpp', + 'object/class.cpp', + 'object/function.cpp', + 'object/inheritance.cpp', + 'object/life_support.cpp', + 'object/pickle_support.cpp', + 'errors.cpp', + 'module.cpp', + 'converter/builtin_converters.cpp', + 'converter/arg_to_python_base.cpp', + 'object/iterator.cpp', + 'object/stl_iterator.cpp', + 'object_protocol.cpp', + 'object_operators.cpp', + 'wrapper.cpp', + 'import.cpp', + 'exec.cpp', + 'object/function_doc_signature.cpp']) diff --git a/libs/python/test/Jamfile.v2 b/libs/python/test/Jamfile.v2 index 5524188003..4ce1613590 100644 --- a/libs/python/test/Jamfile.v2 +++ b/libs/python/test/Jamfile.v2 @@ -103,7 +103,7 @@ bpl-test crossmod_exception [ bpl-test args ] [ bpl-test raw_ctor ] [ bpl-test numpy : printer.py numeric_tests.py numarray_tests.py numpy.py numpy.cpp ] -[ bpl-test enum ] +[ bpl-test enum : test_enum.py enum_ext.cpp ] [ bpl-test exception_translator ] [ bpl-test pearu1 : test_cltree.py cltree.cpp ] [ bpl-test try : newtest.py m1.cpp m2.cpp ] diff --git a/libs/python/test/SConscript b/libs/python/test/SConscript new file mode 100644 index 0000000000..896783c805 --- /dev/null +++ b/libs/python/test/SConscript @@ -0,0 +1,138 @@ +# -*- python -*- +# +# Copyright (c) 2016 Stefan Seefeld +# All rights reserved. +# +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +import platform + +Import('env') + +# libs needed for embedding +ELIBS=env['LIBS'] + env['PYTHONLIBS'] + +def BPLTest(env, name, sources = None, deps = None): + run = env.BoostRunPythonScript(name + '.py') + if sources: + for source in sources: + Depends(run, + env.PythonExtension(source != name and source or (source + '_ext'), source + '.cpp') + ) + else: + Depends(run, env.PythonExtension(name + '_ext', name + '.cpp')) + if deps: + Depends(run, deps) + return run + +env.AddMethod(BPLTest) + +env.AppendENVPath('PYTHONPATH', Dir('.').path) + +tests=[] +tests+=env.BPLTest('crossmod_exception', ['crossmod_exception_a', 'crossmod_exception_b']) + +for test in [('injected',), + ('properties',), + ('return_arg',), + ('staticmethod',), + ('shared_ptr',), + ('enable_shared_from_this',), + ('andreas_beyer',), + ('polymorphism',), + ('polymorphism2',), + ('wrapper_held_type',), + ('polymorphism2_auto_ptr',), + ('auto_ptr',), + ('minimal',), + ('args',), + ('raw_ctor',), + ('numpy',None, ['printer.py', 'numeric_tests.py', 'numarray_tests.py']), + ('exception_translator',), + ('test_enum', ['enum_ext']), + ('test_cltree', ['cltree']), + ('newtest', ['m1', 'm2']), + ('const_argument',), + ('keywords_test', ['keywords']), + ('test_pointer_adoption',), + ('operators',), + ('operators_wrapper',), + ('callbacks',), + ('defaults',), + ('object',), + ('list',), + ('long',), + ('dict',), + ('tuple',), + ('str',), + ('slice',), + ('virtual_functions',), + ('back_reference',), + ('implicit',), + ('data_members',), + ('ben_scott1',), + ('bienstman1',), + ('bienstman2',), + ('bienstman3',), + ('multi_arg_constructor',), + ('iterator', ['iterator', 'input_iterator']), + ('stl_iterator',), + ('extract',), + ('crossmod_opaque', ['crossmod_opaque_a', 'crossmod_opaque_b']), + ('opaque',), + ('voidptr',), + ('pickle1',), + ('pickle2',), + ('pickle3',), + ('pickle4',), + ('nested',), + ('docstring',), + ('pytype_function',), + ('vector_indexing_suite',), + ('pointer_vector',)]: + tests+=env.BPLTest(*test) + +test = env.BoostRunPythonScript('test_builtin_converters.py') +Depends( + test, + env.PythonExtension('builtin_converters_ext', ['test_builtin_converters.cpp']) + ) +tests+=test +test = env.BoostRunPythonScript('map_indexing_suite.py') +Depends( + test, + env.PythonExtension('map_indexing_suite_ext', [ + 'map_indexing_suite.cpp', + 'int_map_indexing_suite.cpp', + 'a_map_indexing_suite.cpp']) + ) +tests+=test + +tests+=env.BoostRunTest('import_', 'import_.cpp', '${SOURCES[0]} ${SOURCES[1]}', 'import_.py', LIBS=ELIBS) + +tests+=env.BoostCompileTest('indirect_traits_test') +tests+=env.BoostRunTests(['destroy_test', + 'pointer_type_id_test', + 'bases', + 'if_else', + 'pointee', + 'result'], LIBS=ELIBS) + +tests+=env.BoostCompileTests(['string_literal', + 'borrowed', + 'object_manager', + 'copy_ctor_mutates_rhs']) + +tests+=env.BoostRunTest('upcast', LIBS=ELIBS) +tests+=env.BoostCompileTest('select_holder') +tests+=env.BoostRunTest('select_from_python_test', LIBS=ELIBS) +tests+=env.BoostCompileTest('select_arg_to_python_test') + +if platform.system() == 'Windows': + tests+=env.BPLTest('calling_conventions') + tests+=env.BPLTest('calling_conventions_mf') + +env.BoostTestSummary(tests) +AlwaysBuild(tests) diff --git a/libs/python/test/andreas_beyer.py b/libs/python/test/andreas_beyer.py index 84a54fbd9f..0c24969bd5 100644 --- a/libs/python/test/andreas_beyer.py +++ b/libs/python/test/andreas_beyer.py @@ -17,8 +17,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/args.py b/libs/python/test/args.py index 44a9cd2529..e884c06bea 100644 --- a/libs/python/test/args.py +++ b/libs/python/test/args.py @@ -1,6 +1,7 @@ # Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +from __future__ import print_function """ >>> from args_ext import * @@ -26,7 +27,7 @@ >>> try: f(1, 2, 'hello', bar = 'baz') ... except TypeError: pass -... else: print 'expected an exception: unknown keyword' +... else: print('expected an exception: unknown keyword') Exercise the functions using default stubs @@ -72,7 +73,7 @@ >>> try: q.f(1, 2, 'hello', bar = 'baz') ... except TypeError: pass -... else: print 'expected an exception: unknown keyword' +... else: print('expected an exception: unknown keyword') Exercise member functions using default stubs @@ -95,10 +96,10 @@ >>> xfuncs = (X.inner0, X.inner1, X.inner2, X.inner3, X.inner4, X.inner5) >>> for f in xfuncs: -... print f(q,1).value(), -... print f(q, n = 1).value(), -... print f(q, n = 0).value(), -... print f.__doc__.splitlines()[1:5] +... print(f(q,1).value(), end=' ') +... print(f(q, n = 1).value(), end=' ') +... print(f(q, n = 0).value(), end=' ') +... print(f.__doc__.splitlines()[1:5]) 1 1 0 ['inner0( (X)self, (bool)n) -> Y :', ' docstring', '', ' C++ signature :'] 1 1 0 ['inner1( (X)self, (bool)n) -> Y :', ' docstring', '', ' C++ signature :'] 1 1 0 ['inner2( (X)self, (bool)n) -> Y :', ' docstring', '', ' C++ signature :'] @@ -135,10 +136,10 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") import args_ext help(args_ext) sys.exit(status) diff --git a/libs/python/test/auto_ptr.py b/libs/python/test/auto_ptr.py index 2e4bed61df..12e977d062 100644 --- a/libs/python/test/auto_ptr.py +++ b/libs/python/test/auto_ptr.py @@ -28,7 +28,7 @@ >>> if not broken_auto_ptr: ... try: x.value() ... except TypeError: pass -... else: print 'expected a TypeError exception' +... else: print('expected a TypeError exception') >>> x = make() >>> look(x) @@ -51,7 +51,7 @@ >>> try: maybe_steal(y, 0) ... except TypeError: pass -... else: print 'expected a TypeError exception' +... else: print('expected a TypeError exception') >>> y.value() 42 @@ -62,24 +62,24 @@ >>> if not broken_auto_ptr: ... try: y.value() ... except TypeError: pass -... else: print 'expected a TypeError exception' +... else: print('expected a TypeError exception') ->>> print look.__doc__.splitlines()[1] +>>> print(look.__doc__.splitlines()[1]) look( (X)arg1) -> int : ->>> print steal.__doc__.splitlines()[1] +>>> print(steal.__doc__.splitlines()[1]) steal( (X)arg1) -> int : ->>> print maybe_steal.__doc__.splitlines()[1] +>>> print(maybe_steal.__doc__.splitlines()[1]) maybe_steal( (X)arg1, (bool)arg2) -> int : ->>> print make.__doc__.splitlines()[1] +>>> print(make.__doc__.splitlines()[1]) make() -> X : ->>> print callback.__doc__.splitlines()[1] +>>> print(callback.__doc__.splitlines()[1]) callback( (object)arg1) -> X : ->>> print extract.__doc__.splitlines()[1] +>>> print(extract.__doc__.splitlines()[1]) extract( (object)arg1) -> X : ''' @@ -93,8 +93,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/back_reference.py b/libs/python/test/back_reference.py index 6705ee7b79..4a283a3e3e 100644 --- a/libs/python/test/back_reference.py +++ b/libs/python/test/back_reference.py @@ -17,7 +17,7 @@ >>> y_equality(y, y) 1 ->>> print y_identity.__doc__.splitlines()[1] +>>> print(y_identity.__doc__.splitlines()[1]) y_identity( (Y)arg1) -> object : ''' @@ -30,8 +30,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/bienstman1.py b/libs/python/test/bienstman1.py index 06f0fff8ce..16dc47b2d1 100644 --- a/libs/python/test/bienstman1.py +++ b/libs/python/test/bienstman1.py @@ -16,8 +16,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/bienstman2.py b/libs/python/test/bienstman2.py index 359987d198..931fae8f74 100644 --- a/libs/python/test/bienstman2.py +++ b/libs/python/test/bienstman2.py @@ -13,8 +13,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/bienstman3.py b/libs/python/test/bienstman3.py index 4f3e871148..d0d250aea9 100644 --- a/libs/python/test/bienstman3.py +++ b/libs/python/test/bienstman3.py @@ -6,10 +6,10 @@ >>> try: ... V() -... except RuntimeError, x: -... print x +... except RuntimeError as x: +... print(x) ... else: -... print 'expected an exception' +... print('expected an exception') ... This class cannot be instantiated from Python @@ -23,8 +23,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/bienstman4.py b/libs/python/test/bienstman4.py index e2a5b0659e..eea33ba2a8 100644 --- a/libs/python/test/bienstman4.py +++ b/libs/python/test/bienstman4.py @@ -16,8 +16,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/bienstman5.py b/libs/python/test/bienstman5.py index 59a9bc93f1..a6735d9422 100644 --- a/libs/python/test/bienstman5.py +++ b/libs/python/test/bienstman5.py @@ -14,8 +14,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/callbacks.py b/libs/python/test/callbacks.py index 640eb1551a..cf876a89d5 100644 --- a/libs/python/test/callbacks.py +++ b/libs/python/test/callbacks.py @@ -19,11 +19,11 @@ succeed<wink>: >>> try: apply_to_string_literal(identity) ... except ReferenceError: pass # expected -... else: print 'expected an exception!' +... else: print('expected an exception!') >>> try: apply_X_ref_handle(lambda ignored:X(42), None) ... except ReferenceError: pass # expected -... else: print 'expected an exception!' +... else: print('expected an exception!') >>> x = X(42) >>> x.y = X(7) @@ -104,15 +104,15 @@ succeed<wink>: ... >>> try: apply_X_ref_handle(new_x, 1) ... except ReferenceError: pass -... else: print 'no error' +... else: print('no error') >>> try: apply_X_ptr_handle_cref(new_x, 1) ... except ReferenceError: pass -... else: print 'no error' +... else: print('no error') >>> try: apply_cstring_cstring(identity, 'hello') ... except ReferenceError: pass -... else: print 'no error' +... else: print('no error') >>> apply_char_char(identity, 'x') 'x' @@ -140,8 +140,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/calling_conventions.py b/libs/python/test/calling_conventions.py index ce74a84330..c57142448b 100644 --- a/libs/python/test/calling_conventions.py +++ b/libs/python/test/calling_conventions.py @@ -74,8 +74,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/calling_conventions_mf.py b/libs/python/test/calling_conventions_mf.py index 1ec9c2b6cc..7e28484b9b 100644 --- a/libs/python/test/calling_conventions_mf.py +++ b/libs/python/test/calling_conventions_mf.py @@ -77,8 +77,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/class.py b/libs/python/test/class.py index d68ff43787..15594a105b 100755 --- a/libs/python/test/class.py +++ b/libs/python/test/class.py @@ -33,8 +33,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/const_argument.py b/libs/python/test/const_argument.py index 15e87e8024..1d241953b3 100644 --- a/libs/python/test/const_argument.py +++ b/libs/python/test/const_argument.py @@ -16,8 +16,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/crossmod_exception.py b/libs/python/test/crossmod_exception.py index dd50dae276..4820f29e96 100644 --- a/libs/python/test/crossmod_exception.py +++ b/libs/python/test/crossmod_exception.py @@ -2,7 +2,7 @@ # Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy # at http://www.boost.org/LICENSE_1_0.txt) -print "running..." +print("running...") import crossmod_exception_a import crossmod_exception_b @@ -16,4 +16,4 @@ try: except IndexError: pass -print "Done." +print("Done.") diff --git a/libs/python/test/crossmod_opaque.py b/libs/python/test/crossmod_opaque.py index a7a3cf2cba..e542fa6d3c 100644 --- a/libs/python/test/crossmod_opaque.py +++ b/libs/python/test/crossmod_opaque.py @@ -5,7 +5,7 @@ # http://www.boost.org/LICENSE_1_0.txt) if __name__ == '__main__': - print "running..." + print("running...") import crossmod_opaque_a import crossmod_opaque_b @@ -13,4 +13,4 @@ if __name__ == '__main__': crossmod_opaque_a.get() crossmod_opaque_b.get() - print "Done." + print("Done.") diff --git a/libs/python/test/data_members.py b/libs/python/test/data_members.py index 70784853ed..74b655eb56 100644 --- a/libs/python/test/data_members.py +++ b/libs/python/test/data_members.py @@ -163,7 +163,7 @@ False 42 >>> try: x.x = 77 ... except AttributeError: pass -... else: print 'no error' +... else: print('no error') >>> x.fair_value 42.0 @@ -208,8 +208,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/defaults.py b/libs/python/test/defaults.py index cd51a4a4d2..cf3cfd38f3 100644 --- a/libs/python/test/defaults.py +++ b/libs/python/test/defaults.py @@ -106,19 +106,19 @@ ... doc = obj.__doc__.splitlines() ... return "\\n".join(["|"+doc[i] for i in args]) ->>> print selected_doc(X.__init__, 1, 2, 4, 7, 9) +>>> print(selected_doc(X.__init__, 1, 2, 4, 7, 9)) |__init__( (object)self [, (int)a [, (str)b [, (str)c [, (float)d]]]]) -> None : | doc of init | C++ signature : |__init__( (object)self, (str)s, (bool)b) -> None : | C++ signature : ->>> print selected_doc(Y.__init__, 1, 2, 4) +>>> print(selected_doc(Y.__init__, 1, 2, 4)) |__init__( (object)arg1) -> None : | doc of Y init | C++ signature : ->>> print selected_doc(X.bar2, 1, 2, 4) +>>> print(selected_doc(X.bar2, 1, 2, 4)) |bar2( (X)arg1 [, (int)arg2 [, (str)arg3 [, (str)arg4 [, (float)arg5]]]]) -> Y : | doc of X::bar2 | C++ signature : @@ -133,8 +133,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/destroy_test.cpp b/libs/python/test/destroy_test.cpp index cae95ae919..57501604b3 100644 --- a/libs/python/test/destroy_test.cpp +++ b/libs/python/test/destroy_test.cpp @@ -38,7 +38,6 @@ void assert_destructions(int n) int main() { assert_destructions(0); - typedef int a[2]; foo* f1 = new foo; boost::python::detail::destroy_referent<foo const volatile&>(f1); diff --git a/libs/python/test/dict.py b/libs/python/test/dict.py index a321beea97..72c37d99e1 100644 --- a/libs/python/test/dict.py +++ b/libs/python/test/dict.py @@ -1,24 +1,25 @@ # Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +from __future__ import print_function """ >>> from dict_ext import * >>> def printer(*args): -... for x in args: print x, -... print +... for x in args: print(x, end='') +... print('') ... ->>> print new_dict() +>>> print(new_dict()) {} ->>> print data_dict() +>>> print(data_dict()) {1: {'key2': 'value2'}, 'key1': 'value1'} >>> tmp = data_dict() ->>> print dict_keys(tmp) +>>> print(dict_keys(tmp)) [1, 'key1'] ->>> print dict_values(tmp) +>>> print(dict_values(tmp)) [{'key2': 'value2'}, 'value1'] ->>> print dict_items(tmp) +>>> print(dict_items(tmp)) [(1, {'key2': 'value2'}), ('key1', 'value1')] ->>> print dict_from_sequence([(1,1),(2,2),(3,3)]) +>>> print(dict_from_sequence([(1,1),(2,2),(3,3)])) {1: 1, 2: 2, 3: 3} >>> test_templates(printer) #doctest: +NORMALIZE_WHITESPACE a test string @@ -38,8 +39,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/docstring.py b/libs/python/test/docstring.py index 528ce84568..2727bd6d5e 100644 --- a/libs/python/test/docstring.py +++ b/libs/python/test/docstring.py @@ -8,14 +8,14 @@ ... doc = obj.__doc__.splitlines() ... return "\\n".join(["|"+doc[i] for i in args]) ->>> print selected_doc(X.__init__, 1, 2, 3, 4, 5) +>>> print(selected_doc(X.__init__, 1, 2, 3, 4, 5)) |__init__( (object)self, (int)value) -> None : | this is the __init__ function | its documentation has two lines. | | C++ signature : ->>> print selected_doc(X.value, 1, 2, 4, 7, 8, 10) +>>> print(selected_doc(X.value, 1, 2, 4, 7, 8, 10)) |value( (X)self) -> int : | gets the value of the object | C++ signature : @@ -23,13 +23,13 @@ | also gets the value of the object | C++ signature : ->>> print selected_doc(create, 1, 2, 3, 4) +>>> print(selected_doc(create, 1, 2, 3, 4)) |create( (int)value) -> X : | creates a new X object | | C++ signature : ->>> print selected_doc(fact, 1, 2, 3, 4) +>>> print(selected_doc(fact, 1, 2, 3, 4)) |fact( (int)n) -> int : | compute the factorial | @@ -37,23 +37,23 @@ >>> len(fact_usr_off_1.__doc__.splitlines()) 5 ->>> print selected_doc(fact_usr_off_1, 1, 3) +>>> print(selected_doc(fact_usr_off_1, 1, 3)) |fact_usr_off_1( (int)n) -> int : | C++ signature : >>> len(fact_usr_on_1.__doc__.splitlines()) 6 ->>> print selected_doc(fact_usr_on_1, 1, 2, 4) +>>> print(selected_doc(fact_usr_on_1, 1, 2, 4)) |fact_usr_on_1( (int)n) -> int : | usr on 1 | C++ signature : >>> len(fact_usr_off_2.__doc__.splitlines()) 5 ->>> print selected_doc(fact_usr_off_2, 1, 3) +>>> print(selected_doc(fact_usr_off_2, 1, 3)) |fact_usr_off_2( (int)n) -> int : | C++ signature : >>> len(fact_usr_on_2.__doc__.splitlines()) 6 ->>> print selected_doc(fact_usr_on_2, 1, 2, 4) +>>> print(selected_doc(fact_usr_on_2, 1, 2, 4)) |fact_usr_on_2( (int)n) -> int : | usr on 2 | C++ signature : @@ -61,59 +61,59 @@ >>> len(fact_sig_off_1.__doc__.splitlines()) 2 ->>> print selected_doc(fact_sig_off_1, 1) +>>> print(selected_doc(fact_sig_off_1, 1)) |sig off 1 >>> len(fact_sig_on_1.__doc__.splitlines()) 6 ->>> print selected_doc(fact_sig_on_1, 1, 2, 4) +>>> print(selected_doc(fact_sig_on_1, 1, 2, 4)) |fact_sig_on_1( (int)n) -> int : | sig on 1 | C++ signature : >>> len(fact_sig_off_2.__doc__.splitlines()) 2 ->>> print selected_doc(fact_sig_off_2, 1) +>>> print(selected_doc(fact_sig_off_2, 1)) |sig off 2 >>> len(fact_sig_on_2.__doc__.splitlines()) 6 ->>> print selected_doc(fact_sig_on_2, 1, 2, 4) +>>> print(selected_doc(fact_sig_on_2, 1, 2, 4)) |fact_sig_on_2( (int)n) -> int : | sig on 2 | C++ signature : ->>> print fact_usr_off_sig_off_1.__doc__ +>>> print(fact_usr_off_sig_off_1.__doc__) None >>> len(fact_usr_on_sig_on_1.__doc__.splitlines()) 6 ->>> print selected_doc(fact_usr_on_sig_on_1, 1, 2, 4) +>>> print(selected_doc(fact_usr_on_sig_on_1, 1, 2, 4)) |fact_usr_on_sig_on_1( (int)n) -> int : | usr on sig on 1 | C++ signature : >>> len(fact_usr_on_sig_off_1.__doc__.splitlines()) 2 ->>> print selected_doc(fact_usr_on_sig_off_1, 1) +>>> print(selected_doc(fact_usr_on_sig_off_1, 1)) |usr on sig off 1 >>> len(fact_usr_on_sig_on_2.__doc__.splitlines()) 6 ->>> print selected_doc(fact_usr_on_sig_on_2, 1, 2, 4) +>>> print(selected_doc(fact_usr_on_sig_on_2, 1, 2, 4)) |fact_usr_on_sig_on_2( (int)n) -> int : | usr on sig on 2 | C++ signature : ->>> print selected_doc(fact_usr_on_psig_on_csig_off_1, 1, 2) +>>> print(selected_doc(fact_usr_on_psig_on_csig_off_1, 1, 2)) |fact_usr_on_psig_on_csig_off_1( (int)n) -> int : | usr on psig on csig off 1 ->>> print selected_doc(fact_usr_on_psig_off_csig_on_1, 1, 3) +>>> print(selected_doc(fact_usr_on_psig_off_csig_on_1, 1, 3)) |usr on psig off csig on 1 |C++ signature : ->>> print fact_usr_off_psig_on_csig_off_1.__doc__.splitlines()[1] +>>> print(fact_usr_off_psig_on_csig_off_1.__doc__.splitlines()[1]) fact_usr_off_psig_on_csig_off_1( (int)n) -> int ->>> print selected_doc(fact_usr_off_psig_off_csig_on_1,1) +>>> print(selected_doc(fact_usr_off_psig_off_csig_on_1,1)) |C++ signature : @@ -134,11 +134,11 @@ def run(args = None): import re docmodule = lambda m: re.sub(".\10", "", pydoc.text.docmodule(m)) try: - print 'printing module help:' - print docmodule(docstring_ext) - except object, x: - print '********* failed **********' - print x + print('printing module help:') + print(docmodule(docstring_ext)) + except object as x: + print('********* failed **********') + print(x) result = list(result) result[0] += 1 return tuple(result) @@ -146,8 +146,8 @@ def run(args = None): return result if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/enable_shared_from_this.py b/libs/python/test/enable_shared_from_this.py index cca46ec813..d7ac7a9999 100755 --- a/libs/python/test/enable_shared_from_this.py +++ b/libs/python/test/enable_shared_from_this.py @@ -18,9 +18,9 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/enum.cpp b/libs/python/test/enum_ext.cpp index e5c4f4fa91..e5c4f4fa91 100644 --- a/libs/python/test/enum.cpp +++ b/libs/python/test/enum_ext.cpp diff --git a/libs/python/test/exception_translator.py b/libs/python/test/exception_translator.py index 9537c6f6f1..1d80aba3a2 100644 --- a/libs/python/test/exception_translator.py +++ b/libs/python/test/exception_translator.py @@ -5,10 +5,10 @@ >>> from exception_translator_ext import * >>> try: ... throw_error(); -... except RuntimeError, x: -... print x +... except RuntimeError as x: +... print(x) ... else: -... print 'Expected a RuntimeError!' +... print('Expected a RuntimeError!') !!!error!!! ''' def run(args = None): @@ -20,8 +20,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/extract.py b/libs/python/test/extract.py index 842a9f6e4d..feda93a1d5 100644 --- a/libs/python/test/extract.py +++ b/libs/python/test/extract.py @@ -21,11 +21,11 @@ case because they wrap Python objects instead of being wrapped by them. >>> assert not check_list(2) >>> try: x = extract_list(2) - ... except TypeError, x: + ... except TypeError as x: ... if str(x) != 'Expecting an object of type list; got an object of type int instead': - ... print x + ... print(x) ... else: - ... print 'expected an exception, got', x, 'instead' + ... print('expected an exception, got', x, 'instead') Can't extract a list from a tuple. Use list(x) to convert a sequence to a list: @@ -47,7 +47,7 @@ Can't get a char const* from a Python int: >>> try: x = extract_cstring(1) ... except TypeError: pass ... else: - ... print 'expected an exception, got', x, 'instead' + ... print('expected an exception, got', x, 'instead') Extract an std::string (class) rvalue from a native Python type @@ -100,8 +100,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/implicit.py b/libs/python/test/implicit.py index ac82d94864..f2aa3e1d36 100644 --- a/libs/python/test/implicit.py +++ b/libs/python/test/implicit.py @@ -12,18 +12,18 @@ 42 >>> try: make_x('fool') ... except TypeError: pass -... else: print 'no error' +... else: print('no error') ->>> print x_value.__doc__.splitlines()[1] +>>> print(x_value.__doc__.splitlines()[1]) x_value( (X)arg1) -> int : ->>> print make_x.__doc__.splitlines()[1] +>>> print(make_x.__doc__.splitlines()[1]) make_x( (object)arg1) -> X : ->>> print X.value.__doc__.splitlines()[1] +>>> print(X.value.__doc__.splitlines()[1]) value( (X)arg1) -> int : ->>> print X.set.__doc__.splitlines()[1] +>>> print(X.set.__doc__.splitlines()[1]) set( (X)arg1, (object)arg2) -> None : ''' @@ -37,8 +37,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/injected.py b/libs/python/test/injected.py index 32ea0bf9da..c502150483 100644 --- a/libs/python/test/injected.py +++ b/libs/python/test/injected.py @@ -20,9 +20,9 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/iterator.py b/libs/python/test/iterator.py index 96f5fd04bd..314a356767 100644 --- a/libs/python/test/iterator.py +++ b/libs/python/test/iterator.py @@ -1,6 +1,7 @@ # Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +from __future__ import print_function ''' >>> from iterator_ext import * >>> from input_iterator import * @@ -11,13 +12,13 @@ >>> x.push_back(3) >>> x.push_back(5) >>> for y in x: -... print y +... print(y) 1 3 5 >>> z = range(x) >>> for y in z: -... print y +... print(y) 1 3 5 @@ -27,14 +28,14 @@ >>> z2 = range2(x) >>> for y in z2: -... print y +... print(y) 2 6 10 >>> l2 = two_lists() >>> for y in l2.primes: -... print y +... print(y) 2 3 5 @@ -42,7 +43,7 @@ 11 13 >>> for y in l2.evens: -... print y +... print(y) 2 4 6 @@ -55,8 +56,8 @@ >>> ll.push_back(x) >>> for a in ll: #doctest: +NORMALIZE_WHITESPACE ... for b in a: -... print b, -... print +... print(b, end='') +... print('') ... 1 3 5 1 3 5 7 @@ -70,8 +71,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/keywords_test.py b/libs/python/test/keywords_test.py index 261de0b392..bac7d17c1f 100644 --- a/libs/python/test/keywords_test.py +++ b/libs/python/test/keywords_test.py @@ -98,9 +98,9 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/list.py b/libs/python/test/list.py index 8be2112389..913032db8a 100644 --- a/libs/python/test/list.py +++ b/libs/python/test/list.py @@ -1,6 +1,7 @@ # Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +from __future__ import print_function ''' >>> from list_ext import * @@ -25,7 +26,7 @@ X(22) >>> try: result = apply_object_list(identity, 5) ... except TypeError: pass -... else: print 'expected an exception, got', result, 'instead' +... else: print('expected an exception, got', result, 'instead') >>> assert apply_list_list(identity, letters) is letters @@ -33,7 +34,7 @@ X(22) >>> try: result = apply_list_list(len, letters) ... except TypeError: pass -... else: print 'expected an exception, got', result, 'instead' +... else: print('expected an exception, got', result, 'instead') >>> append_object(letters, '.') >>> letters @@ -43,7 +44,7 @@ X(22) >>> try: append_list(letters, (1,2)) ... except TypeError: pass -... else: print 'expected an exception' +... else: print('expected an exception') >>> append_list(letters, [1,2]) >>> letters @@ -68,8 +69,8 @@ X(22) 2 >>> def printer(*args): -... for x in args: print x, -... print +... for x in args: print( x,) +... print('') ... >>> y = X(42) @@ -111,8 +112,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/long.py b/libs/python/test/long.py index 13d8775bba..3e5881de3f 100644 --- a/libs/python/test/long.py +++ b/libs/python/test/long.py @@ -1,20 +1,23 @@ # Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +import sys +if (sys.version_info.major >= 3): + from past.builtins import long ''' >>> from long_ext import * ->>> print new_long() +>>> print(new_long()) 0 ->>> print longify(42) +>>> print(longify(42)) 42 ->>> print longify_string('300') +>>> print(longify_string('300')) 300 ->>> is_long(20L) +>>> is_long(long(20)) 'yes' >>> is_long('20') 0 ->>> x = Y(4294967295L) +>>> x = Y(long(4294967295)) ''' def run(args = None): @@ -24,10 +27,10 @@ def run(args = None): if args is not None: sys.argv = args return doctest.testmod(sys.modules.get(__name__)) - + if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/map_indexing_suite.py b/libs/python/test/map_indexing_suite.py index 9d9e2b26fa..a5750a833f 100644 --- a/libs/python/test/map_indexing_suite.py +++ b/libs/python/test/map_indexing_suite.py @@ -1,6 +1,7 @@ # Copyright Joel de Guzman 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +from __future__ import print_function ''' ##################################################################### @@ -36,7 +37,7 @@ foo ... s += repr(x) ... s += ' ' ... s += ']' -... print s +... print(s) ##################################################################### # Setting (adding entries) @@ -198,7 +199,7 @@ kiwi >>> print_xmap(tm) [ (joel, aaa) (kimpo, bbb) ] >>> for el in tm: #doctest: +NORMALIZE_WHITESPACE -... print el.key(), +... print(el.key(), end='') ... dom = el.data() joel kimpo @@ -230,10 +231,10 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print 'running...' + print('running...') import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/minimal.py b/libs/python/test/minimal.py index 28e7918f7a..ee75e3705b 100644 --- a/libs/python/test/minimal.py +++ b/libs/python/test/minimal.py @@ -1,7 +1,7 @@ # Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -print "IMPORTING minimal_ext" +print("IMPORTING minimal_ext") import minimal_ext -print "DONE IMPORTING minimal_ext" +print("DONE IMPORTING minimal_ext") diff --git a/libs/python/test/multi_arg_constructor.py b/libs/python/test/multi_arg_constructor.py index eb8d338b35..5d8b4a516c 100644 --- a/libs/python/test/multi_arg_constructor.py +++ b/libs/python/test/multi_arg_constructor.py @@ -14,8 +14,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/nested.py b/libs/python/test/nested.py index c3446e848d..720790173c 100644 --- a/libs/python/test/nested.py +++ b/libs/python/test/nested.py @@ -33,8 +33,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/newtest.py b/libs/python/test/newtest.py index 1862dcb498..b878d51924 100644 --- a/libs/python/test/newtest.py +++ b/libs/python/test/newtest.py @@ -12,11 +12,11 @@ >>> def check_unregistered(f, msgprefix): ... try: ... f(1) -... except TypeError, x: +... except TypeError as x: ... if not str(x).startswith(msgprefix): -... print str(x) +... print(str(x)) ... else: -... print 'expected a TypeError' +... print('expected a TypeError') ... >>> check_unregistered(make_unregistered, 'No to_python (by-value) converter found for C++ type') >>> check_unregistered(make_unregistered2, 'No Python class registered for C++ class') @@ -42,7 +42,7 @@ Can't get a non-const reference to a built-in integer object >>> try: ... unwrap_int_ref(7) ... except: pass -... else: print 'no exception' +... else: print('no exception') >>> unwrap_int_const_ref(9) 9 @@ -52,7 +52,7 @@ Can't get a non-const reference to a built-in integer object try: wrap_int_ref(n) ... except: pass -... else: print 'no exception' +... else: print('no exception') >>> wrap_int_const_ref(n) 42 @@ -105,7 +105,7 @@ are a complicated constructor and member function, respectively. >>> try: A.__dict__['name'](None) ... except TypeError: pass -... else: print 'expected an exception!' +... else: print('expected an exception!') >>> a = A() @@ -120,17 +120,17 @@ are a complicated constructor and member function, respectively. >>> try: ... take_b(a) ... except: pass -... else: print 'no exception' +... else: print('no exception') >>> try: ... take_c(a) ... except: pass -... else: print 'no exception' +... else: print('no exception') >>> try: ... take_d(a) ... except: pass -... else: print 'no exception' +... else: print('no exception') ------ >>> take_a(b).name() @@ -142,12 +142,12 @@ are a complicated constructor and member function, respectively. >>> try: ... take_c(b) ... except: pass -... else: print 'no exception' +... else: print('no exception') >>> try: ... take_d(b) ... except: pass -... else: print 'no exception' +... else: print('no exception') ------- >>> take_a(c).name() @@ -156,7 +156,7 @@ are a complicated constructor and member function, respectively. >>> try: ... take_b(c) ... except: pass -... else: print 'no exception' +... else: print('no exception') >>> take_c(c).name() 'C' @@ -164,7 +164,7 @@ are a complicated constructor and member function, respectively. >>> try: ... take_d(c) ... except: pass -... else: print 'no exception' +... else: print('no exception') ------- >>> take_a(d).name() @@ -183,7 +183,7 @@ are a complicated constructor and member function, respectively. >>> dd = take_d(d_as_a) >>> dd.name() 'D' ->>> print g.__doc__.splitlines()[1] +>>> print(g.__doc__.splitlines()[1]) g( (Simple)arg1) -> Simple : """ @@ -199,8 +199,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/numeric_tests.py b/libs/python/test/numeric_tests.py index 569ec19e58..f5019212aa 100644 --- a/libs/python/test/numeric_tests.py +++ b/libs/python/test/numeric_tests.py @@ -9,11 +9,11 @@ import printer >>> try: take_array(3) ... except TypeError: pass -... else: print 'expected a TypeError' +... else: print('expected a TypeError') >>> take_array(x) ->>> print x +>>> print(x) [[1 2 3] [4 0 6] [7 8 9]] diff --git a/libs/python/test/numpy.py b/libs/python/test/numpy.py index 84e8313d17..49cc213a00 100644 --- a/libs/python/test/numpy.py +++ b/libs/python/test/numpy.py @@ -51,20 +51,20 @@ def _run(args = None): # # run all the tests with default module search - print 'testing default extension module:', \ - numpy_ext.get_module_name() or '[numeric support not installed]' + print('testing default extension module:', \ + numpy_ext.get_module_name() or '[numeric support not installed]') failures += _count_failures() # test against Numeric if installed if has_numeric: - print 'testing Numeric module explicitly' + print('testing Numeric module explicitly') numpy_ext.set_module_and_type('Numeric', 'ArrayType') failures += _count_failures() if has_numarray: - print 'testing numarray module explicitly' + print('testing numarray module explicitly') numpy_ext.set_module_and_type('numarray', 'NDArray') # Add the _numarray_tests to the list of things to test in # this case. @@ -72,16 +72,16 @@ def _run(args = None): # see that we can go back to the default numpy_ext.set_module_and_type('', '') - print 'testing default module again:', \ - numpy_ext.get_module_name() or '[numeric support not installed]' + print('testing default module again:', \ + numpy_ext.get_module_name() or '[numeric support not installed]') failures += _count_failures() return failures if __name__ == '__main__': - print "running..." + print("running...") import sys status = _run() - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/object.py b/libs/python/test/object.py index 84972e64f3..67a46d9362 100644 --- a/libs/python/test/object.py +++ b/libs/python/test/object.py @@ -1,6 +1,7 @@ # Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +from __future__ import print_function ''' >>> from object_ext import * @@ -8,7 +9,7 @@ <class 'object_ext.NotCopyable'> >>> def print1(x): -... print x +... print(x) >>> call_object_3(print1) 3 >>> message() @@ -33,10 +34,10 @@ >>> try: obj_getattr(x, 'foo') ... except AttributeError: pass -... else: print 'expected an exception' +... else: print('expected an exception') >>> try: obj_objgetattr(x, 'objfoo') ... except AttributeError: pass -... else: print 'expected an exception' +... else: print('expected an exception') >>> obj_setattr(x, 'foo', 1) >>> x.foo @@ -44,7 +45,7 @@ >>> obj_objsetattr(x, 'objfoo', 1) >>> try:obj_objsetattr(x, 1) ... except TypeError: pass -... else: print 'expected an exception' +... else: print('expected an exception') >>> x.objfoo 1 >>> obj_getattr(x, 'foo') @@ -53,7 +54,7 @@ 1 >>> try:obj_objgetattr(x, 1) ... except TypeError: pass -... else: print 'expected an exception' +... else: print('expected an exception') >>> obj_const_getattr(x, 'foo') 1 >>> obj_const_objgetattr(x, 'objfoo') @@ -92,10 +93,10 @@ >>> obj_objdelattr(x, 'objfoo') >>> try:obj_delattr(x, 'foo') ... except AttributeError: pass -... else: print 'expected an exception' +... else: print('expected an exception') >>> try:obj_objdelattr(x, 'objfoo') ... except AttributeError: pass -... else: print 'expected an exception' +... else: print('expected an exception') Items @@ -135,7 +136,7 @@ Operators >>> def print_args(*args, **kwds): -... print args, kwds +... print(args, kwds) >>> test_call(print_args, (0, 1, 2, 3), {'a':'A'}) (0, 1, 2, 3) {'a': 'A'} @@ -144,7 +145,7 @@ >>> class X: pass ... ->>> assert check_inplace(range(3), X()) +>>> assert check_inplace(list(range(3)), X()) Now make sure that object is actually managing reference counts @@ -153,7 +154,7 @@ >>> class Z: pass ... >>> z = Z() ->>> def death(r): print 'death' +>>> def death(r): print('death') ... >>> r = weakref.ref(z, death) >>> z.foo = 1 @@ -172,8 +173,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/opaque.py b/libs/python/test/opaque.py index 2ee0aa0c0c..311b1893a5 100644 --- a/libs/python/test/opaque.py +++ b/libs/python/test/opaque.py @@ -35,13 +35,13 @@ RuntimeError: success >>> try: use(0) ... except TypeError: pass -... else: print 'expected a TypeError' +... else: print('expected a TypeError') ... and from strings to opaque objects >>> try: use("") ... except TypeError: pass -... else: print 'expected a TypeError' +... else: print('expected a TypeError') Now check the same for another opaque pointer type @@ -52,19 +52,19 @@ Traceback (most recent call last): RuntimeError: success >>> try: use2(0) ... except TypeError: pass -... else: print 'expected a TypeError' +... else: print('expected a TypeError') >>> try: use2("") ... except TypeError: pass -... else: print 'expected a TypeError' +... else: print('expected a TypeError') Check that opaque types are distinct >>> try: use(get2()) ... except TypeError: pass -... else: print 'expected a TypeError' +... else: print('expected a TypeError') >>> try: use2(get()) ... except TypeError: pass -... else: print 'expected a TypeError' +... else: print('expected a TypeError') This used to result in a segmentation violation @@ -80,8 +80,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/operators.py b/libs/python/test/operators.py index f39134b664..5b369803c6 100644 --- a/libs/python/test/operators.py +++ b/libs/python/test/operators.py @@ -95,8 +95,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/pickle1.py b/libs/python/test/pickle1.py index 8369768d67..b8f4efd9b0 100644 --- a/libs/python/test/pickle1.py +++ b/libs/python/test/pickle1.py @@ -14,14 +14,14 @@ r'''>>> import pickle1_ext >>> wd = pickle1_ext.world('California') >>> pstr = pickle.dumps(wd) >>> wl = pickle.loads(pstr) - >>> print wd.greet() + >>> print(wd.greet()) Hello from California! - >>> print wl.greet() + >>> print(wl.greet()) Hello from California! >>> noop = pickle1_ext.noop() >>> try: pickle.dumps(noop) - ... except RuntimeError, e: print str(e)[:55] + ... except RuntimeError as e: print(str(e)[:55]) Pickling of "pickle1_ext.noop" instances is not enabled ''' @@ -34,8 +34,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/pickle2.py b/libs/python/test/pickle2.py index 2ad663fffe..f4788d3b89 100644 --- a/libs/python/test/pickle2.py +++ b/libs/python/test/pickle2.py @@ -1,6 +1,7 @@ # Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +from __future__ import print_function r'''>>> import pickle2_ext >>> import pickle >>> pickle2_ext.world.__module__ @@ -16,8 +17,8 @@ r'''>>> import pickle2_ext ... wd.set_secret_number(number) ... pstr = pickle.dumps(wd) ... wl = pickle.loads(pstr) - ... print wd.greet(), wd.get_secret_number() - ... print wl.greet(), wl.get_secret_number() + ... print(wd.greet(), wd.get_secret_number()) + ... print(wl.greet(), wl.get_secret_number()) Hello from California! 24 Hello from California! 24 Hello from California! 42 @@ -29,7 +30,7 @@ r'''>>> import pickle2_ext >>> wd.__dict__ {'x': 1} >>> try: pstr = pickle.dumps(wd) - ... except RuntimeError, err: print err + ... except RuntimeError as err: print(err) ... Incomplete pickle support (__getstate_manages_dict__ not set) ''' @@ -43,8 +44,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/pickle3.py b/libs/python/test/pickle3.py index 6be3128c58..932e30f3cd 100644 --- a/libs/python/test/pickle3.py +++ b/libs/python/test/pickle3.py @@ -1,6 +1,7 @@ # Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +from __future__ import print_function r'''>>> import pickle3_ext >>> import pickle >>> pickle3_ext.world.__module__ @@ -21,8 +22,8 @@ r'''>>> import pickle3_ext ... wd.z = 3. * number ... pstr = pickle.dumps(wd) ... wl = pickle.loads(pstr) - ... print wd.greet(), wd.get_secret_number(), wd.x, wd.y, wd.z - ... print wl.greet(), wl.get_secret_number(), wl.x, wl.y, wl.z + ... print(wd.greet(), wd.get_secret_number(), wd.x, wd.y, wd.z) + ... print(wl.greet(), wl.get_secret_number(), wl.x, wl.y, wl.z) Hello from California! 24 48 yyyyyyyyyyyyyyyyyyyyyyyy 72.0 Hello from California! 24 48 yyyyyyyyyyyyyyyyyyyyyyyy 72.0 Hello from California! 42 84 yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy 126.0 @@ -38,8 +39,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/pickle4.py b/libs/python/test/pickle4.py index a5069c90de..be813bbb13 100644 --- a/libs/python/test/pickle4.py +++ b/libs/python/test/pickle4.py @@ -17,9 +17,9 @@ r'''>>> import pickle4_ext >>> wd = pickle4_ext.world('California') >>> pstr = pickle.dumps(wd) >>> wl = pickle.loads(pstr) - >>> print wd.greet() + >>> print(wd.greet()) Hello from California! - >>> print wl.greet() + >>> print(wl.greet()) Hello from California! ''' @@ -32,8 +32,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/pointer_vector.py b/libs/python/test/pointer_vector.py index 16900e8eb6..234eff2c0b 100644 --- a/libs/python/test/pointer_vector.py +++ b/libs/python/test/pointer_vector.py @@ -21,10 +21,10 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print 'running...' + print('running...') import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/polymorphism.py b/libs/python/test/polymorphism.py index 0218b81080..e3c66ea279 100644 --- a/libs/python/test/polymorphism.py +++ b/libs/python/test/polymorphism.py @@ -17,23 +17,23 @@ class PolymorphTest(unittest.TestCase): # Python Created B Object and Cpp B Object # Should have same result by calling f() - self.failUnlessEqual ('B::f()', a.f()) - self.failUnlessEqual ('B::f()', call_f(a)) - self.failUnlessEqual ('A::f()', call_f(A())) + self.assertEqual ('B::f()', a.f()) + self.assertEqual ('B::f()', call_f(a)) + self.assertEqual ('A::f()', call_f(A())) def test_references(self): # B is not exposed to Python a = getBCppObj() - self.failUnlessEqual(type(a), A) + self.assertEqual(type(a), A) # C is exposed to Python c = getCCppObj() - self.failUnlessEqual(type(c), C) + self.assertEqual(type(c), C) def test_factory(self): - self.failUnlessEqual(type(factory(0)), A) - self.failUnlessEqual(type(factory(1)), A) - self.failUnlessEqual(type(factory(2)), C) + self.assertEqual(type(factory(0)), A) + self.assertEqual(type(factory(1)), A) + self.assertEqual(type(factory(2)), C) def test_return_py(self): @@ -43,26 +43,26 @@ class PolymorphTest(unittest.TestCase): x = X() - self.failUnlessEqual ('X.f', x.f()) - self.failUnlessEqual ('X.f', call_f(x)) + self.assertEqual ('X.f', x.f()) + self.assertEqual ('X.f', call_f(x)) def test_wrapper_downcast(self): a = pass_a(D()) - self.failUnlessEqual('D::g()', a.g()) + self.assertEqual('D::g()', a.g()) def test_pure_virtual(self): p = P() self.assertRaises(RuntimeError, p.f) q = Q() - self.failUnlessEqual ('Q::f()', q.f()) + self.assertEqual ('Q::f()', q.f()) class R(P): def f(self): return 'R.f' r = R() - self.failUnlessEqual ('R.f', r.f()) + self.assertEqual ('R.f', r.f()) if __name__ == "__main__": diff --git a/libs/python/test/polymorphism2.py b/libs/python/test/polymorphism2.py index 2690bac9a1..cf7384fab8 100644 --- a/libs/python/test/polymorphism2.py +++ b/libs/python/test/polymorphism2.py @@ -17,23 +17,23 @@ class PolymorphTest(unittest.TestCase): # Python Created B Object and Cpp B Object # Should have same result by calling f() - self.failUnlessEqual ('B::f()', a.f()) - self.failUnlessEqual ('B::f()', call_f(a)) - self.failUnlessEqual ('A::f()', call_f(A())) + self.assertEqual ('B::f()', a.f()) + self.assertEqual ('B::f()', call_f(a)) + self.assertEqual ('A::f()', call_f(A())) def test_references(self): # B is not exposed to Python a = getBCppObj() - self.failUnlessEqual(type(a), A) + self.assertEqual(type(a), A) # C is exposed to Python c = getCCppObj() - self.failUnlessEqual(type(c), C) + self.assertEqual(type(c), C) def test_factory(self): - self.failUnlessEqual(type(factory(0)), A) - self.failUnlessEqual(type(factory(1)), A) - self.failUnlessEqual(type(factory(2)), C) + self.assertEqual(type(factory(0)), A) + self.assertEqual(type(factory(1)), A) + self.assertEqual(type(factory(2)), C) def test_return_py(self): @@ -43,8 +43,8 @@ class PolymorphTest(unittest.TestCase): x = X() - self.failUnlessEqual ('X.f', x.f()) - self.failUnlessEqual ('X.f', call_f(x)) + self.assertEqual ('X.f', x.f()) + self.assertEqual ('X.f', call_f(x)) def test_self_default(self): @@ -54,28 +54,28 @@ class PolymorphTest(unittest.TestCase): x = X() - self.failUnlessEqual ('X.f() -> A::f()', x.f()) + self.assertEqual ('X.f() -> A::f()', x.f()) # This one properly raises the "dangling reference" exception # self.failUnlessEqual ('X.f() -> A::f()', call_f(x)) def test_wrapper_downcast(self): a = pass_a(D()) - self.failUnlessEqual('D::g()', a.g()) + self.assertEqual('D::g()', a.g()) def test_pure_virtual(self): p = P() self.assertRaises(RuntimeError, p.f) q = Q() - self.failUnlessEqual ('Q::f()', q.f()) + self.assertEqual ('Q::f()', q.f()) class R(P): def f(self): return 'R.f' r = R() - self.failUnlessEqual ('R.f', r.f()) + self.assertEqual ('R.f', r.f()) def test(): diff --git a/libs/python/test/printer.py b/libs/python/test/printer.py index e08f7c453f..46e064af3e 100644 --- a/libs/python/test/printer.py +++ b/libs/python/test/printer.py @@ -9,5 +9,5 @@ class _printer(object): self.results.append(str(x)) def check(self, x): if self.results[0] != str(x): - print ' Expected:\n %s\n but the C++ interface gave:\n %s' % (x, self.results[0]) + print(' Expected:\n %s\n but the C++ interface gave:\n %s' % (x, self.results[0])) del self.results[0] diff --git a/libs/python/test/properties.py b/libs/python/test/properties.py index 720fb85989..1bc7a624ba 100644 --- a/libs/python/test/properties.py +++ b/libs/python/test/properties.py @@ -99,8 +99,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/pyrun.py b/libs/python/test/pyrun.py index e033069ebd..d330773eae 100644 --- a/libs/python/test/pyrun.py +++ b/libs/python/test/pyrun.py @@ -4,4 +4,4 @@ pythonpath = sys.argv[1] scriptfile = sys.argv[2] sys.argv = sys.argv[2:] sys.path.append(pythonpath) -execfile(scriptfile) +exec(compile(open(scriptfile).read(), scriptfile, 'exec')) diff --git a/libs/python/test/pytype_function.py b/libs/python/test/pytype_function.py index 83674632a1..a7101fb996 100755 --- a/libs/python/test/pytype_function.py +++ b/libs/python/test/pytype_function.py @@ -4,13 +4,13 @@ """ >>> from pytype_function_ext import * ->>> print func.__doc__.splitlines()[1] +>>> print(func.__doc__.splitlines()[1]) func( (A)arg1) -> A : ->>> print func.__module__ +>>> print(func.__module__) pytype_function_ext ->>> print func.__name__ +>>> print(func.__name__) func """ def run(args = None): @@ -22,10 +22,10 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/raw_ctor.py b/libs/python/test/raw_ctor.py index 686948ff0d..1e9a9192a4 100644 --- a/libs/python/test/raw_ctor.py +++ b/libs/python/test/raw_ctor.py @@ -12,7 +12,7 @@ >>> f = Foo(1, 2, 'a', bar = 3, baz = 4) >>> f.args (1, 2, 'a') ->>> f.kw.items() +>>> sorted(f.kw.items()) [('bar', 3), ('baz', 4)] """ def run(args = None): @@ -24,10 +24,10 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/return_arg.py b/libs/python/test/return_arg.py index f191d59641..e66a0b8d93 100644 --- a/libs/python/test/return_arg.py +++ b/libs/python/test/return_arg.py @@ -20,8 +20,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/shared_ptr.py b/libs/python/test/shared_ptr.py index 554b4a6b61..c70b317406 100644 --- a/libs/python/test/shared_ptr.py +++ b/libs/python/test/shared_ptr.py @@ -27,7 +27,7 @@ ... def v(self): ... return -Z.v(self); ... def __del__(self): -... print 'bye' +... print('bye') ... >>> p = P(12) >>> p.value() @@ -38,7 +38,7 @@ 12 >>> try: modify(p) ... except TypeError: pass -... else: 'print expected a TypeError' +... else: 'print(expected a TypeError)' >>> look(None) -1 >>> store(p) @@ -61,7 +61,7 @@ bye 13 >>> try: modify(z) ... except TypeError: pass -... else: 'print expected a TypeError' +... else: 'print(expected a TypeError)' >>> Z.get() # should be None >>> store(z) @@ -84,7 +84,7 @@ bye 17 >>> try: modify(x) ... except TypeError: pass -... else: 'print expected a TypeError' +... else: 'print(expected a TypeError)' >>> look(None) -1 >>> store(x) @@ -123,8 +123,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/slice.py b/libs/python/test/slice.py index 95f4883b09..92cb5c9f3a 100644 --- a/libs/python/test/slice.py +++ b/libs/python/test/slice.py @@ -7,15 +7,15 @@ 1 >>> try: ... accept_slice(list((1,2))) -... print "test failed" +... print("test failed") ... except: -... print "test passed" +... print("test passed") ... test passed >>> try: ... from Numeric import array ... except: -... print 1 +... print(1) ... else: ... check_numeric_array_rich_slice('Numeric', 'ArrayType', lambda x:x) ... @@ -23,7 +23,7 @@ test passed >>> try: ... from numarray import array, all ... except: -... print 1 +... print(1) ... else: ... check_numeric_array_rich_slice('numarray', 'NDArray', all) ... @@ -34,7 +34,7 @@ test passed ... elif sys.version_info[0] > 2: ... check_string_rich_slice() ... else: -... print 1 +... print(1) ... 1 >>> check_slice_get_indices( slice(None)) @@ -65,8 +65,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/staticmethod.py b/libs/python/test/staticmethod.py index cc2fb6a7b3..3dd355b133 100644 --- a/libs/python/test/staticmethod.py +++ b/libs/python/test/staticmethod.py @@ -50,8 +50,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/stl_iterator.py b/libs/python/test/stl_iterator.py index 2c324c0abb..4743ed632a 100644 --- a/libs/python/test/stl_iterator.py +++ b/libs/python/test/stl_iterator.py @@ -6,7 +6,7 @@ >>> x = list_int() >>> x.assign(iter([1,2,3,4,5])) >>> for y in x: -... print y +... print(y) 1 2 3 @@ -15,12 +15,12 @@ >>> def generator(): ... yield 1 ... yield 2 -... raise RuntimeError, "oops" +... raise RuntimeError("oops") >>> try: ... x.assign(iter(generator())) -... print "NOT OK" +... print("NOT OK") ... except RuntimeError: -... print "OK" +... print("OK") OK ''' def run(args = None): @@ -32,8 +32,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/str.py b/libs/python/test/str.py index 5f10580cf6..4eba0e8769 100644 --- a/libs/python/test/str.py +++ b/libs/python/test/str.py @@ -1,11 +1,12 @@ # Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +from __future__ import print_function """ >>> from str_ext import * >>> def printer(*args): -... for x in args: print x, -... print +... for x in args: print(x, end='') +... print('') ... >>> work_with_string(printer) #doctest: +NORMALIZE_WHITESPACE ['this', 'is', 'a', 'demo', 'string'] @@ -46,8 +47,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/test_builtin_converters.py b/libs/python/test/test_builtin_converters.py index 5a6c8c50ad..c3191d9b7b 100644 --- a/libs/python/test/test_builtin_converters.py +++ b/libs/python/test/test_builtin_converters.py @@ -1,6 +1,9 @@ # Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +import sys +if (sys.version_info.major >= 3): + from past.builtins import long r""" >>> from builtin_converters_ext import * @@ -10,18 +13,18 @@ r""" ... return [[-base, -1, 1, base - 1], [-base - 1, base]] >>> def _unsigned_values(s): ... base = 2 ** (8 * s) -... return [[1, base - 1], [-1L, -1, base]] +... return [[1, base - 1], [long(-1), -1, base]] # Wrappers to simplify tests >>> def should_pass(method, values): ... result = map(method, values[0]) ... if result != values[0]: -... print "Got %s but expected %s" % (result, values[0]) +... print("Got %s but expected %s" % (result, values[0])) >>> def test_overflow(method, values): ... for v in values[1]: ... try: method(v) ... except OverflowError: pass -... else: print "OverflowError expected" +... else: print("OverflowError expected") # Synthesize idendity functions in case long long not supported >>> if not 'rewrap_value_long_long' in dir(): @@ -73,7 +76,7 @@ False test unsigned long values which don't fit in a signed long. strip any 'L' characters in case the platform has > 32 bit longs - + >>> hex(rewrap_value_unsigned_long(0x80000001L)).replace('L','') '0x80000001' @@ -82,7 +85,7 @@ True >>> rewrap_value_unsigned_long_long(42) == 42 True - show that we have range checking. + show that we have range checking. >>> should_pass(rewrap_value_signed_char, _signed_values(char_size())) >>> should_pass(rewrap_value_short, _signed_values(short_size())) @@ -113,7 +116,7 @@ True >>> for v in _unsigned_values(long_long_size())[1]: ... try: rewrap_value_unsigned_long_long(v) ... except (OverflowError, TypeError): pass -... else: print "OverflowError or TypeError expected" +... else: print("OverflowError or TypeError expected") >>> assert abs(rewrap_value_float(4.2) - 4.2) < .000001 >>> rewrap_value_double(4.2) - 4.2 @@ -130,16 +133,16 @@ True >>> rewrap_value_string('yo, wassup?') 'yo, wassup?' ->>> print rewrap_value_wstring(u'yo, wassup?') +>>> print(rewrap_value_wstring(u'yo, wassup?')) yo, wassup? test that overloading on unicode works: ->>> print rewrap_value_string(u'yo, wassup?') +>>> print(rewrap_value_string(u'yo, wassup?')) yo, wassup? wrap strings with embedded nulls: - + >>> rewrap_value_string('yo,\0wassup?') 'yo,\x00wassup?' @@ -151,7 +154,7 @@ yo, wassup? Note that we can currently get a mutable pointer into an immutable Python string: - + >>> rewrap_value_mutable_cstring('hello, world') 'hello, world' @@ -162,7 +165,7 @@ yo, wassup? >>> try: rewrap_const_reference_bool('yes') ... except TypeError: pass -... else: print 'expected a TypeError exception' +... else: print('expected a TypeError exception') >>> rewrap_const_reference_char('x') 'x' @@ -225,26 +228,26 @@ But None cannot be converted to a string object: >>> try: rewrap_const_reference_string(None) ... except TypeError: pass -... else: print 'expected a TypeError exception' +... else: print('expected a TypeError exception') Now check implicit conversions between floating/integer types >>> rewrap_const_reference_float(42) 42.0 ->>> rewrap_const_reference_float(42L) +>>> rewrap_const_reference_float(long(42)) 42.0 >>> try: rewrap_const_reference_int(42.0) ... except TypeError: pass -... else: print 'expected a TypeError exception' +... else: print('expected a TypeError exception') >>> rewrap_value_float(42) 42.0 >>> try: rewrap_value_int(42.0) ... except TypeError: pass -... else: print 'expected a TypeError exception' +... else: print('expected a TypeError exception') Check that classic classes also work @@ -260,19 +263,19 @@ Check that classic classes also work >>> try: rewrap_const_reference_float(FortyTwo()) ... except TypeError: pass -... else: print 'expected a TypeError exception' +... else: print('expected a TypeError exception') >>> try: rewrap_value_int(FortyTwo()) ... except TypeError: pass -... else: print 'expected a TypeError exception' +... else: print('expected a TypeError exception') >>> try: rewrap_const_reference_string(FortyTwo()) ... except TypeError: pass -... else: print 'expected a TypeError exception' +... else: print('expected a TypeError exception') >>> try: rewrap_value_complex_double(FortyTwo()) ... except TypeError: pass -... else: print 'expected a TypeError exception' +... else: print('expected a TypeError exception') # show that arbitrary handle<T> instantiations can be returned >>> assert get_type(1) is type(1) @@ -284,19 +287,19 @@ def run(args = None): import sys import doctest import builtin_converters_ext - + if 'rewrap_value_long_long' in dir(builtin_converters_ext): - print 'LONG_LONG supported, testing...' + print('LONG_LONG supported, testing...') else: - print 'LONG_LONG not supported, skipping those tests...' - + print('LONG_LONG not supported, skipping those tests...') + if args is not None: sys.argv = args return doctest.testmod(sys.modules.get(__name__)) - + if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/test_cltree.py b/libs/python/test/test_cltree.py index 016cf63d15..2127b7cdb6 100644 --- a/libs/python/test/test_cltree.py +++ b/libs/python/test/test_cltree.py @@ -30,14 +30,14 @@ assert not isinstance(v,symbol) assert not isinstance(v,constant) assert isinstance(v,variable) -print 'b=',b +print('b=',b) assert repr(b)=='cltree.basic()' -print 's=',s +print('s=',s) assert repr(s)!='cltree.wrapped_symbol()' # because not isinstance(s,basic) -print 'c=',c +print('c=',c) assert repr(c)=='cltree.constant()' -print 'v=',v +print('v=',v) assert repr(v)=='cltree.wrapped_variable()' -print 'ok' +print('ok') diff --git a/libs/python/test/enum.py b/libs/python/test/test_enum.py index c3ba3fe7ea..e4ad70bd5b 100644 --- a/libs/python/test/enum.py +++ b/libs/python/test/test_enum.py @@ -38,7 +38,7 @@ enum_ext.color.blue >>> try: identity(1) ... except TypeError: pass -... else: print 'expected a TypeError' +... else: print('expected a TypeError') >>> c = colorized() >>> c.x @@ -78,8 +78,8 @@ def run(args = None): return doctest.testmod(self) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/test_pointer_adoption.py b/libs/python/test/test_pointer_adoption.py index 5bb9dd6dc3..0fdf3b98e9 100644 --- a/libs/python/test/test_pointer_adoption.py +++ b/libs/python/test/test_pointer_adoption.py @@ -86,8 +86,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/tuple.py b/libs/python/test/tuple.py index 9d25aef41c..1aec5fded4 100644 --- a/libs/python/test/tuple.py +++ b/libs/python/test/tuple.py @@ -1,13 +1,14 @@ # Copyright David Abrahams 2004. Distributed under the Boost # Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +from __future__ import print_function """ >>> from tuple_ext import * >>> def printer(*args): -... for x in args: print x, -... print +... for x in args: print(x,) +... print('') ... ->>> print convert_to_tuple("this is a test string") +>>> print(convert_to_tuple("this is a test string")) ('t', 'h', 'i', 's', ' ', 'i', 's', ' ', 'a', ' ', 't', 'e', 's', 't', ' ', 's', 't', 'r', 'i', 'n', 'g') >>> t1 = convert_to_tuple("this is") >>> t2 = (1,2,3,4) @@ -30,8 +31,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/vector_indexing_suite.py b/libs/python/test/vector_indexing_suite.py index 5fe2efe4d2..478cd01516 100644 --- a/libs/python/test/vector_indexing_suite.py +++ b/libs/python/test/vector_indexing_suite.py @@ -32,7 +32,7 @@ foo ... s += repr(x) ... s += ' ' ... s += ']' -... print s +... print(s) ##################################################################### # Replace all the contents using slice syntax @@ -339,7 +339,7 @@ e ##################################################################### >>> sv = StringVec() >>> sv.append('a') ->>> print sv[0] +>>> print(sv[0]) a ##################################################################### @@ -358,10 +358,10 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print 'running...' + print('running...') import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/virtual_functions.py b/libs/python/test/virtual_functions.py index 1372f9afb3..cba21edd62 100644 --- a/libs/python/test/virtual_functions.py +++ b/libs/python/test/virtual_functions.py @@ -52,12 +52,12 @@ # Call f indirectly from C++ >>> try: a2.call_f(y1) ... except AttributeError: pass -... else: print 'no exception' +... else: print('no exception') # Call f directly from Python >>> try: a2.call_f(y2) ... except AttributeError: pass -... else: print 'no exception' +... else: print('no exception') ############# Concrete Tests ############ @@ -103,8 +103,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/voidptr.py b/libs/python/test/voidptr.py index da1fa9c143..0e189c9655 100644 --- a/libs/python/test/voidptr.py +++ b/libs/python/test/voidptr.py @@ -30,13 +30,13 @@ >>> try: use(0) ... except TypeError: pass -... else: print 'expected a TypeError' +... else: print('expected a TypeError') ... and from strings to opaque objects >>> try: use("") ... except TypeError: pass -... else: print 'expected a TypeError' +... else: print('expected a TypeError') """ def run(args = None): import sys @@ -47,8 +47,8 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) diff --git a/libs/python/test/wrapper_held_type.py b/libs/python/test/wrapper_held_type.py index 4b33ff738b..ff1bd1d245 100644 --- a/libs/python/test/wrapper_held_type.py +++ b/libs/python/test/wrapper_held_type.py @@ -4,16 +4,16 @@ ''' >>> from wrapper_held_type_ext import * >>> d = data() ->>> print d.id() +>>> print(d.id()) 42 >>> do_nothing( d ) ->>> print d.id() +>>> print(d.id()) 42 >>> d = create_data() ->>> print d.id() +>>> print(d.id()) 42 >>> do_nothing( d ) ->>> print d.id() +>>> print(d.id()) 42 ''' @@ -26,9 +26,9 @@ def run(args = None): return doctest.testmod(sys.modules.get(__name__)) if __name__ == '__main__': - print "running..." + print("running...") import sys status = run()[0] - if (status == 0): print "Done." + if (status == 0): print("Done.") sys.exit(status) |