Skip to content

Commit 2600ae7

Browse files
Евгений БлиновЕвгений Блинов
authored andcommitted
Update README to clarify library scope and supported types
1 parent 50aab5d commit 2600ae7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ print(getsource(function))
5858

5959
This allows AST-based tools to work reliably in both scripts and the `REPL`. All other functions in the library are built on top of it.
6060

61+
However, please note that this library is intended solely for retrieving the source code of functions of any kind, including generators, async functions, regular functions, class methods, lambdas, and so on. It is not intended for classes, modules, or other objects. Other use cases may work, but they are not covered by the test suite.
62+
6163

6264
## Get cleaned source
6365

0 commit comments

Comments
 (0)