Jelle Zijlstra
5d553c9584
apply black and isort ( #4287 )
...
* apply black and isort
* move some type ignores
2020-06-28 13:31:00 -07:00
Jelle Zijlstra
43e93f803f
use _typeshed's Path aliases ( #4214 )
2020-06-10 20:57:09 -07:00
Shantanu
1422fce882
pstats: fix stream type, add class var ( #3862 )
...
Co-authored-by: hauntsaninja <>
2020-03-18 17:49:54 -07:00
Rebecca Chen
fab2ee0d7c
Remove unnecessary quotes around forward references. ( #3191 )
2019-08-16 20:29:32 -07:00
Jelle Zijlstra
383d1dc9e1
mark cProfile as private in pstats.pyi ( #1344 )
2017-05-24 20:33:20 -07:00
Jelle Zijlstra
1d6e3f492e
Fix incorrect usage of AnyStr ( #1215 )
...
* Fix incorrect usage of AnyStr
- sqlite3 was using Union[bytes, AnyStr], which doesn't make sense
- The urllib functions I changed accept either bytes or str for their "safe"
argument
- Also added supports for PathLike to pstats
- Remove some unused imports of AnyStr
* pstats: python 2 accepts unicode
2017-04-27 08:47:59 -07:00
Eklavya Sharma
bc092ded69
pstats: Add default value for kwarg ( #905 )
...
According to python library docs, pstats.Stats.__init__ has a
keyword argument `stream' whose default value is `sys.stdout`.
2017-01-31 11:42:14 +00:00
Lukasz Langa
b84f20a011
Fixing flake8 W errors
2016-12-19 21:52:56 -08:00
Jelle Zijlstra
918dab66d0
pstats: add stub ( #727 )
...
partially addresses #531
2016-12-13 14:51:57 -08:00