module documentation

Undocumented

Variable new​_func3 Undocumented
Variable new​_func4 Undocumented
Variable new​_func5 Undocumented
Variable new​_func6 Undocumented
Class ​Test​Byte​Bounds Undocumented
Function ​_compare​_docs 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​_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
new_func3 =

Undocumented

new_func4 =

Undocumented

new_func5 =

Undocumented

new_func6 =

Undocumented

def _compare_docs(old_func, new_func):

Undocumented

@deprecate
def old_func(self, x):

Undocumented

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

Undocumented

def old_func3(self, x):

Undocumented

def old_func4(self, x):

Summary.

Further info.

def old_func5(self, x):

Summary.

Bizarre indentation.

def old_func6(self, x):
Also in PEP-257.
@deprecate_with_doc(msg='Rather use new_func7')
def old_func7(self, x):

Undocumented

def test_assert_raises_regex_context_manager():

Undocumented

def test_deprecate_decorator():

Undocumented

def test_deprecate_decorator_message():

Undocumented

def test_deprecate_fn():

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):

Undocumented

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

Undocumented

def test_deprecate_with_doc_decorator_message():

Undocumented

def test_info_method_heading():

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():

Undocumented

def test_safe_eval_nameconstant():

Undocumented