From 0dbcbea0cf52672ef1cf051c3cd7640eb7ff728e Mon Sep 17 00:00:00 2001 From: Richard Carlsson Date: Wed, 14 May 2014 14:54:16 +0200 Subject: Remove obsolete 'imports' entry from module_info/1/2 functions It previously always returned an empty list and was documented to be removed. --- system/doc/reference_manual/modules.xml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'system') 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. a list of {Key,Value} tuples with information about the module. Currently, the list contain tuples with the following Keys: module, attributes, compile, - exports, imports and md5. The order and number of tuples + exports and md5. The order and number of tuples may change without prior notice.

- -

The {imports,Value} tuple may be removed in a future - release because Value is always an empty list. - Do not write code that depends on it being present.

@@ -272,12 +268,6 @@ behaviour_info(callbacks) -> Callbacks. beam_lib(3).

- imports - -

Always return an empty list. The imports key may not - be supported in future release.

-
- md5

Return a binary representing the MD5 checksum of the module.

-- cgit v1.2.3