Commit Graph

11 Commits

Author SHA1 Message Date
Jelle Zijlstra
ddfaca3200 stdlib: add argument default values (#9501) 2023-01-18 09:37:34 +01:00
Alex Waygood
740193a8fc Use TypeAlias where possible for type aliases (#7630) 2022-04-15 18:01:00 -07:00
till
7f9be7fd00 Update linecache.pyi (#7623)
The `mtime` in linecache entries can be set to `None` for files loaded via a `__loader__` (cf: https://github.com/python/cpython/blob/3.10/Lib/linecache.py#L70)
2022-04-14 17:25:25 +01:00
Alex Waygood
3ead05f277 Add __all__ to modules beginning with 'j', 'k' and 'l' (#7328) 2022-02-20 15:06:54 -08:00
Alex Waygood
8d5d2520ac Use PEP 585 syntax wherever possible (#6717) 2021-12-28 11:31:43 +01:00
Akuli
ce11072dbe Big diff: use lower-case list and dict (#5888) 2021-08-08 09:26:35 -07:00
Oleg Höfling
836690e150 Add attribute types to code.InteractiveInterpreter and code.InteractiveConsole (#5830)
* mark undocumented attributes
* use pep 585 generics, replace optional types with pep 604-style hints
2021-08-02 14:04:42 +02:00
Oleg Höfling
a6a744a9d0 Add type hint for linecache.cache dict (#5805) 2021-07-24 14:59:33 +02:00
Sebastian Rittau
6a9c89e928 Replace 'Text' with 'str' in py3 stdlib (#5466) 2021-05-16 07:10:48 -07:00
Akuli
17dcea4a68 Akuli and srittau: Remove Python 2 branches from Python 3 stubs (#5461)
* run script and do some manual changes (Akuli)

* do the whole thing manually (srittau)

* merge changes (Akuli)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2021-05-15 15:33:39 +03:00
Ivan Levkivskyi
16ae4c6120 Re-organize directory structure (#4971)
See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-27 12:00:39 +00:00