mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fix linecache.py add lazycache to __all__ and use dict.clear to clear the cache (GH-4641)
This commit is contained in:
parent
8271441d8b
commit
4515a590a4
2 changed files with 21 additions and 18 deletions
|
@ -0,0 +1,3 @@
|
|||
* Add `lazycache` function to `__all__`.
|
||||
* Use `dict.clear` to clear the cache.
|
||||
* Refactoring `getline` function and `checkcache` function.
|
Loading…
Add table
Add a link
Reference in a new issue