From e9371571a198af2c49151155f7a8ca9aa72580b9 Mon Sep 17 00:00:00 2001 From: Ilya Etingof Date: Wed, 11 Oct 2017 22:10:53 +0200 Subject: `setupComponent()` legacy initializer removed --- pyasn1/type/base.py | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'pyasn1/type') diff --git a/pyasn1/type/base.py b/pyasn1/type/base.py index 4dd6a21..3270e0a 100644 --- a/pyasn1/type/base.py +++ b/pyasn1/type/base.py @@ -416,24 +416,6 @@ class AbstractSimpleAsn1Item(Asn1ItemBase): # of types for Sequence/Set/Choice. # -# TODO: remove - -def setupComponent(): - """Returns a sentinel value. - - Indicates to a constructed type to set up its inner component so that it - can be referred to. This is useful in situation when you want to populate - descendants of a constructed type what requires being able to refer to - their parent types along the way. - - Example - ------- - - >>> constructed['record'] = setupComponent() - >>> constructed['record']['scalar'] = 42 - """ - return noValue - class AbstractConstructedAsn1Item(Asn1ItemBase): -- cgit v1.2.3