eric6/QScintilla/Lexers/LexerPython.py

changeset 8255
2fc483702cd6
parent 8243
cc717c2ae956
child 8259
2bbec88047dd
diff -r 259484b0fc75 -r 2fc483702cd6 eric6/QScintilla/Lexers/LexerPython.py
--- a/eric6/QScintilla/Lexers/LexerPython.py	Sun Apr 18 12:20:14 2021 +0200
+++ b/eric6/QScintilla/Lexers/LexerPython.py	Sun Apr 18 16:43:55 2021 +0200
@@ -50,26 +50,28 @@
                 0: {
                     "Description": self.tr("Standard Library Modules"),
                     "Words": """
- __main__ _dummy_thread _thread abc aifc argparse array ast asynchat asyncio
- asyncore atexit audioop base64 bdb binascii binhex bisect builtins bz2
+ __main__ _dummy_thread _thread abc aifc argparse array ascii ast asynchat
+ asyncio asyncore atexit audioop base64 bdb binascii binhex bisect builtins bz2
  calendar cgi cgitb chunk cmath cmd code codecs codeop collections colorsys
- compileall concurrent configparser contextlib copy copyreg crypt csv ctypes
- curses datetime dbm decimal difflib dis distutils dummy_threading email
- ensurepip enum errno faulthandler fcntl filecmp fileinput fnmatch formatter
- fpectl fractions ftplib functools gc getopt getpass gettext glob grp gzip
- hashlib heapq hmac html http http imaplib imghdr importlib inspect io
- ipaddress itertools json keyword linecache locale logging lzma macpath
- mailbox mailcap marshal math mimetypes mmap modulefinder msilib msvcrt
- multiprocessing netrc nis nntplib numbers operator os ossaudiodev parser path
- pathlib pdb pickle pickletools pipes pkgutil platform plistlib poplib posix
- pprint pty pwd py_compile pyclbr queue quopri random re readline reprlib
- resource rlcompleter runpy sched select selectors shelve shlex shutil signal
+ compileall concurrent configparser contextlib contextvars copy copyreg
+ cProfile crypt csv ctypes curses dataclasses datetime dbm decimal difflib dis
+ distutils doctest email encodings ensurepip enum errno faulthandler fcntl
+ filecmp fileinput fnmatch formatter fractions ftplib functools gc getopt
+ getpass gettext glob graphlib grp gzip hashlib heapq hmac html http imaplib
+ imghdr imp importlib inspect io ipaddress itertools json keyword lib2to3
+ linecache locale logging lzma mailbox mailcap marshal math mimetypes mmap
+ modulefinder msilib msvcrt multiprocessing netrc nis nntplib numbers opcode
+ operator optparse os ossaudiodev parser path pathlib pdb pickle pickletools
+ pipes pkgutil platform plistlib poplib posix pprint profile pstats pty pwd
+ py_compile pyclbr pydoc queue quopri random re readline reprlib resource
+ rlcompleter runpy sched secrets select selectors shelve shlex shutil signal
  site smtpd smtplib sndhdr socket socketserver spwd sqlite3 ssl stat statistics
  string stringprep struct subprocess sunau symbol symtable sys sysconfig syslog
- tabnanny tarfile telnetlib tempfile termios textwrap threading time timeit
- tkinter token tokenize trace traceback tracemalloc tty turtle types
- unicodedata unittest urllib uu uuid venv warnings wave weakref webbrowser
- winreg winsound wsgiref xdrlib xml xmlrpc zipfile zipimport zlib""",
+ tabnanny tarfile telnetlib tempfile termios test textwrap threading time
+ timeit tkinter token tokenize trace traceback tracemalloc tty turtle
+ turtledemo types typing unicodedata unittest urllib uu uuid venv warnings wave
+ weakref webbrowser winreg winsound wsgiref xdrlib xml xmlrpc zipapp zipfile
+ zipimport zlib zoneinfo""",
                     "Style": {
                         "fore": 0xDD9900,
                         "font_bold": True,
@@ -78,22 +80,24 @@
                 1: {
                     "Description": self.tr("__future__ Imports"),
                     "Words": """
- __future__ with_statement unicode_literals print_function division
- absolute_import generator_stop annotations""",
+ __future__ absolute_import annotations division generators generator_stop
+ nested_scopes print_function unicode_literals with_statement""",
                     "Style": {
                         "fore": 0xEE00AA,
                         "font_italic": True,
                     }
                 },
                 2: {
-                    "Description": self.tr("PyQt5 Modules"),
+                    "Description": self.tr("PyQt5/6 Modules"),
                     "Words": """
- PyQt5 Qsci Qt QtCore QtDBus QtDesigner QtGui QtHelp QtLocation QtMacExtras
- QtMultimedia QtMultimediaWidgets QtNetwork QtNetworkAuth QtNfc QtOpenGL
- QtPositioning QtPrintSupport QtQml QtQuick QtQuickWidgets QtRemoteObjects
- QtSensors QtSerialPort QtSql QtSvg QtTest QtWebChannel QtWebEngine
- QtWebEngineCore QtWebEngineWidgets QtWebSockets QtWidgets QtWinExtras
- QtX11Extras QtXml QtXmlPatterns sip QtWebKit QtWebKitWidgets""",
+ PyQt5 PyQt6 Qsci Qt Qt3DAnimation Qt3DCore Qt3DExtras Qt3DInput Qt3DLogic
+ Qt3DRender QtBluetooth QtChart QtCore QtDataVisualization QtDBus QtDesigner
+ QtGui QtHelp QtLocation QtMacExtras QtMultimedia QtMultimediaWidgets QtNetwork
+ QtNetworkAuth QtNfc QtOpenGL QtOpenGLWidgets QtPositioning QtPrintSupport
+ QtPurchasing QtQml QtQuick QtQuick3D QtQuickWidgets QtRemoteObjects QtSensors
+ QtSerialPort QtSql QtSvg QtSvgWidgets QtTest QtTextToSpeech QtWebChannel
+ QtWebEngine QtWebEngineCore QtWebEngineWidgets QtWebSockets QtWidgets
+ QtWinExtras QtX11Extras QtXml QtXmlPatterns sip""",
                     "Style": {
                         "fore": 0x44AADD,
                         "font_bold": True,

eric ide

mercurial