aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2014-05-14 14:54:16 +0200
committerSverker Eriksson <[email protected]>2014-05-14 14:54:57 +0200
commit0dbcbea0cf52672ef1cf051c3cd7640eb7ff728e (patch)
tree9727e6c28cd5b6010cfe581442ab83061c5e38d2 /system
parent4ad572a8b66df8174d92157411326aab95ee8124 (diff)
downloadotp-0dbcbea0cf52672ef1cf051c3cd7640eb7ff728e.tar.gz
otp-0dbcbea0cf52672ef1cf051c3cd7640eb7ff728e.tar.bz2
otp-0dbcbea0cf52672ef1cf051c3cd7640eb7ff728e.zip
Remove obsolete 'imports' entry from module_info/1/2 functions
It previously always returned an empty list and was documented to be removed.
Diffstat (limited to 'system')
-rw-r--r--system/doc/reference_manual/modules.xml12
1 files changed, 1 insertions, 11 deletions
diff --git a/system/doc/reference_manual/modules.xml b/system/doc/reference_manual/modules.xml
index ac778805fe..5fc8b363f8 100644
--- a/system/doc/reference_manual/modules.xml
+++ b/system/doc/reference_manual/modules.xml
@@ -230,12 +230,8 @@ behaviour_info(callbacks) -> Callbacks.</pre>
a list of <c>{Key,Value}</c> tuples with information about
the module. Currently, the list contain tuples with the following
<c>Key</c>s: <c>module</c>, <c>attributes</c>, <c>compile</c>,
- <c>exports</c>, <c>imports</c> and <c>md5</c>. The order and number of tuples
+ <c>exports</c> and <c>md5</c>. The order and number of tuples
may change without prior notice.</p>
-
- <warning><p>The <c>{imports,Value}</c> tuple may be removed in a future
- release because <c>Value</c> is always an empty list.
- Do not write code that depends on it being present.</p></warning>
</section>
<section>
@@ -272,12 +268,6 @@ behaviour_info(callbacks) -> Callbacks.</pre>
<seealso marker="stdlib:beam_lib#strip/1">beam_lib(3)</seealso>.</p>
</item>
- <tag><c>imports</c></tag>
- <item>
- <p>Always return an empty list. The <c>imports</c> key may not
- be supported in future release.</p>
- </item>
-
<tag><c>md5</c></tag>
<item>
<p>Return a binary representing the MD5 checksum of the module.</p>