Extend code_python.json (dunder methods and libraries) (#2322) by ASMaksimov2007

* Extend code_python.json

* Add Python magic methods to code_python.json

Added magic dunder methods to Python language file.

* Fix missed comma in code_python.json

* Fix missed comma after __del__

* Remove unnesessary dunder methods
This commit is contained in:
Alex 2022-01-20 14:03:07 +03:00 committed by GitHub
parent 1b6d19d354
commit 5a88011a1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,10 @@
"leftToRight": true,
"noLazyMode": true,
"words": [
"__str__",
"__repr__",
"__del__",
"__init__",
"abs",
"all",
"and",
@ -60,6 +64,7 @@
"from",
"fromkeys",
"frozenset",
"functools",
"get",
"getattr",
"global",
@ -92,6 +97,7 @@
"isupper",
"items",
"iter",
"itertools",
"join",
"keys",
"lambda",
@ -103,12 +109,14 @@
"lstrip",
"maketrans",
"map",
"math",
"max",
"memoryview",
"min",
"next",
"None",
"not",
"nonlocal",
"object",
"oct",
"open",
@ -136,6 +144,7 @@
"rpartition",
"rsplit",
"rstrip",
"self",
"set",
"setattr",
"setdefault",