MCPcopy Index your code
hub / github.com/python/cpython / null

Method null

Lib/test/test_grammar.py:647–647  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

645 self.assertEqual(Ham.f.__annotations__, {'_Spam__kw': 1})
646 # Check for SF Bug #1697248 - mixing decorators and a return annotation
647 def null(x): return x
648 @null
649 def f(x) -> list: pass
650 self.assertEqual(f.__annotations__, {'return': list})

Callers 1

test_effect_sizesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected