forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
490c31e
commit 75cb955
Showing
4,426 changed files
with
542,472 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...s/lib/jedilsp/Misc/NEWS.d/next/Library/2021-05-14-16-06-02.bpo-44095.v_pLwY.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
:class:`zipfile.Path` now supports :attr:`zipfile.Path.stem`, | ||
:attr:`zipfile.Path.suffixes`, and :attr:`zipfile.Path.suffix` attributes. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# SPDX-License-Identifier: MIT | ||
|
||
import sys | ||
import warnings | ||
|
||
from functools import partial | ||
|
||
from . import converters, exceptions, filters, setters, validators | ||
from ._cmp import cmp_using | ||
from ._config import get_run_validators, set_run_validators | ||
from ._funcs import asdict, assoc, astuple, evolve, has, resolve_types | ||
from ._make import ( | ||
NOTHING, | ||
Attribute, | ||
Factory, | ||
attrib, | ||
attrs, | ||
fields, | ||
fields_dict, | ||
make_class, | ||
validate, | ||
) | ||
from ._next_gen import define, field, frozen, mutable | ||
from ._version_info import VersionInfo | ||
|
||
|
||
if sys.version_info < (3, 7): # pragma: no cover | ||
warnings.warn( | ||
"Running attrs on Python 3.6 is deprecated & we intend to drop " | ||
"support soon. If that's a problem for you, please let us know why & " | ||
"we MAY re-evaluate: <https://github.com/python-attrs/attrs/pull/993>", | ||
DeprecationWarning, | ||
) | ||
|
||
__version__ = "22.2.0" | ||
__version_info__ = VersionInfo._from_version_string(__version__) | ||
|
||
__title__ = "attrs" | ||
__description__ = "Classes Without Boilerplate" | ||
__url__ = "https://www.attrs.org/" | ||
__uri__ = __url__ | ||
__doc__ = __description__ + " <" + __uri__ + ">" | ||
|
||
__author__ = "Hynek Schlawack" | ||
__email__ = "[email protected]" | ||
|
||
__license__ = "MIT" | ||
__copyright__ = "Copyright (c) 2015 Hynek Schlawack" | ||
|
||
|
||
s = attributes = attrs | ||
ib = attr = attrib | ||
dataclass = partial(attrs, auto_attribs=True) # happy Easter ;) | ||
|
||
|
||
class AttrsInstance: | ||
pass | ||
|
||
|
||
__all__ = [ | ||
"Attribute", | ||
"AttrsInstance", | ||
"Factory", | ||
"NOTHING", | ||
"asdict", | ||
"assoc", | ||
"astuple", | ||
"attr", | ||
"attrib", | ||
"attributes", | ||
"attrs", | ||
"cmp_using", | ||
"converters", | ||
"define", | ||
"evolve", | ||
"exceptions", | ||
"field", | ||
"fields", | ||
"fields_dict", | ||
"filters", | ||
"frozen", | ||
"get_run_validators", | ||
"has", | ||
"ib", | ||
"make_class", | ||
"mutable", | ||
"resolve_types", | ||
"s", | ||
"set_run_validators", | ||
"setters", | ||
"validate", | ||
"validators", | ||
] |
Oops, something went wrong.