mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Add stub for pathlib2 on Python 2.7 (#2351)
pathlib2 is the Python 2.7 backport of the pathlib module from Python 3. Hence we use the same stub file for both. The maintainer of pathlib2 granted permission for stubs to be added in mcmtroffaes/pathlib2#44.
This commit is contained in:
committed by
Jelle Zijlstra
parent
5fc149bb31
commit
631d2768d6
@@ -1,5 +1,3 @@
|
||||
# Stubs for pathlib (Python 3.4)
|
||||
|
||||
from typing import Any, Generator, IO, Optional, Sequence, Tuple, Type, TypeVar, Union, List
|
||||
from types import TracebackType
|
||||
import os
|
||||
|
||||
Reference in New Issue
Block a user