import sys
raise Exception('foobar') info = sys.exc_info()
help(traceback) # NameError: name 'traceback' is not defined
Python用于异常报告的回溯对象的确切类型是什么上的文档</em
我目前正在为Python开发一个基于C++的模块。我发现Boost::Python可以很好地完成我想要完成的任务。但是,我现在遇到了一些由Boost::Python生成的文档字符串的问题。给定以下Boost::Python定义:{
class_<gcsmt::Units>("Units", "Sets the units