compat.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:scipy-2017-cython-tutorial 作者: kwmsmith 项目源码 文件源码
def filter(self, category=Warning, message="", module=None):
            """
            Add a new suppressing filter or apply it if the state is entered.
            Parameters
            ----------
            category : class, optional
                Warning class to filter
            message : string, optional
                Regular expression matching the warning message.
            module : module, optional
                Module to filter for. Note that the module (and its file)
                must match exactly and cannot be a submodule. This may make
                it unreliable for external modules.
            Notes
            -----
            When added within a context, filters are only added inside
            the context and will be forgotten when the context is exited.
            """
            self._filter(category=category, message=message, module=module,
                         record=False)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号