summaryrefslogtreecommitdiff
path: root/pyasn1
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2017-10-11 22:10:53 +0200
committerIlya Etingof <etingof@gmail.com>2017-10-11 22:10:53 +0200
commite9371571a198af2c49151155f7a8ca9aa72580b9 (patch)
treead747172f370f3e55bdbb74125e2ffbefee744d1 /pyasn1
parenta4bf67e7178c97375ecfc85ff57def3b4a96b981 (diff)
downloadpyasn1-git-e9371571a198af2c49151155f7a8ca9aa72580b9.tar.gz
`setupComponent()` legacy initializer removed
Diffstat (limited to 'pyasn1')
-rw-r--r--pyasn1/type/base.py18
1 files changed, 0 insertions, 18 deletions
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):