Skip to content

cgitb stubs - #3368

Merged
srittau merged 6 commits into
python:masterfrom
CraftSpider:cgitb-stubs
Oct 16, 2019
Merged

srittau merged 6 commits into
python:masterfrom
CraftSpider:cgitb-stubs

Conversation

@CraftSpider

@CraftSpider CraftSpider commented Oct 15, 2019 •

Copy link
Copy Markdown
Contributor

Stubs for the cgitb module, 2 and 3

@srittau srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM, just some minor comments below.

Comment thread stdlib/2and3/cgitb.pyi Resolved
Comment thread stdlib/2and3/cgitb.pyi Outdated
def html(einfo: _ExcInfo, context: int = ...) -> str: ...
def text(einfo: _ExcInfo, context: int = ...) -> str: ...

class Hook:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also # undocumented.

Comment thread stdlib/2and3/cgitb.pyi Resolved
Comment thread stdlib/2and3/cgitb.pyi Resolved
Comment thread stdlib/2and3/cgitb.pyi Resolved
@srittau
srittau merged commit 67629a1 into python:master Oct 16, 2019
@CraftSpider
CraftSpider deleted the cgitb-stubs branch October 16, 2019 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants