mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
a few more __all__ lists
This commit is contained in:
parent
cc012e92b2
commit
352674d01c
5 changed files with 16 additions and 2 deletions
|
|
@ -13,6 +13,9 @@ import repr
|
|||
import os
|
||||
import re
|
||||
|
||||
__all__ = ["run", "pm", "Pdb", "runeval", "runctx", "runcall", "set_trace",
|
||||
"post_mortem", "help"]
|
||||
|
||||
def find_function(funcname, filename):
|
||||
cre = re.compile(r'def\s+%s\s*[(]' % funcname)
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue