module documentation

Undocumented

Class TestByteBounds Undocumented
Function old_func Undocumented
Function old_func2 Undocumented
Function old_func3 Undocumented
Function old_func4 Summary.
Function old_func5 Summary.
Function old_func6 Also in PEP-257.
Function old_func7 Undocumented
Function test_assert_raises_regex_context_manager Undocumented
Function test_deprecate_decorator Undocumented
Function test_deprecate_decorator_message Undocumented
Function test_deprecate_fn Undocumented
Function test_deprecate_help_indentation Undocumented
Function test_deprecate_module Undocumented
Function test_deprecate_preserve_whitespace Undocumented
Function test_deprecate_with_doc_decorator_message Undocumented
Function test_info_method_heading Undocumented
Function test_lookfor Undocumented
Function test_safe_eval_nameconstant Undocumented
Variable new_func3 Undocumented
Variable new_func4 Undocumented
Variable new_func5 Undocumented
Variable new_func6 Undocumented
Function _compare_docs Undocumented
@deprecate
def old_func(self, x): (source)

Undocumented

@deprecate(message='Rather use new_func2')
def old_func2(self, x): (source)

Undocumented

def old_func3(self, x): (source)

Undocumented

def old_func4(self, x): (source)

Summary.

Further info.

def old_func5(self, x): (source)

Summary.

Bizarre indentation.

def old_func6(self, x): (source)

Also in PEP-257.

@deprecate_with_doc(msg='Rather use new_func7')
def old_func7(self, x): (source)

Undocumented

def test_assert_raises_regex_context_manager(): (source)

Undocumented

def test_deprecate_decorator(): (source)

Undocumented

def test_deprecate_decorator_message(): (source)

Undocumented

def test_deprecate_fn(): (source)

Undocumented

@pytest.mark.skipif((sys.flags.optimize == 2), reason='-OO discards docstrings')
@pytest.mark.parametrize('old_func, new_func', [(old_func4, new_func4), (old_func5, new_func5), (old_func6, new_func6)])
def test_deprecate_help_indentation(old_func, new_func): (source)

Undocumented

def test_deprecate_module(): (source)

Undocumented

@pytest.mark.skipif((sys.flags.optimize == 2), reason='-OO discards docstrings')
def test_deprecate_preserve_whitespace(): (source)

Undocumented

def test_deprecate_with_doc_decorator_message(): (source)

Undocumented

def test_info_method_heading(): (source)

Undocumented

@pytest.mark.skipif((sys.flags.optimize == 2), reason='Python running -OO')
@pytest.mark.skipif((sys.version_info == (3, 10, 0, 'candidate', 1)), reason='Broken as of bpo-44524')
def test_lookfor(): (source)

Undocumented

def test_safe_eval_nameconstant(): (source)

Undocumented

new_func3 = (source)

Undocumented

new_func4 = (source)

Undocumented

new_func5 = (source)

Undocumented

new_func6 = (source)

Undocumented

def _compare_docs(old_func, new_func): (source)

Undocumented