mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-06 03:23:23 +08:00
textwrap for py3: fixed stubs to include 'text' param (#420)
This commit is contained in:
committed by
Matthias Kramm
parent
417230043e
commit
af860ee993
@@ -79,6 +79,7 @@ def wrap(
|
||||
...
|
||||
|
||||
def fill(
|
||||
text: str,
|
||||
width: int = ...,
|
||||
*,
|
||||
initial_indent: str = ...,
|
||||
@@ -96,6 +97,7 @@ def fill(
|
||||
...
|
||||
|
||||
def shorten(
|
||||
text: str,
|
||||
width: int,
|
||||
*,
|
||||
initial_indent: str = ...,
|
||||
|
||||
Reference in New Issue
Block a user