Skip to content

Commit d9cc11b

Browse files
Add note about lazy_import() function in changes.
1 parent d0a54d9 commit d9cc11b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/changes.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ these reasons a major version bump is being made.
6666
``AutoObjectProxy`` and should only be used where you know you will not be
6767
needing many instances of it.
6868

69+
* Added ``wrapt.lazy_import()`` function which takes a module name and returns a
70+
``LazyObjectProxy`` which will import the module when it is first needed.
71+
This can be useful for deferring import of modules until they are actually
72+
needed.
73+
6974
**Features Changed**
7075

7176
* Code related to Python 2.X and workarounds for older Python 3.X versions has

0 commit comments

Comments
 (0)