Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3e95c36

Browse filesBrowse files
committed
TYP: Fix version info types
1 parent f268b74 commit 3e95c36
Copy full SHA for 3e95c36

File tree

Expand file treeCollapse file tree

1 file changed

+3
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-5
lines changed

‎lib/matplotlib/__init__.pyi

Copy file name to clipboardExpand all lines: lib/matplotlib/__init__.pyi
+3-5Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,16 @@ from packaging.version import Version
3939
from matplotlib._api import MatplotlibDeprecationWarning
4040
from typing import Any, NamedTuple
4141

42-
__bibtex__: str
43-
4442
class _VersionInfo(NamedTuple):
4543
major: int
4644
minor: int
4745
micro: int
4846
releaselevel: str
4947
serial: int
5048

51-
class __getattr__:
52-
__version__: str
53-
__version_info__: _VersionInfo
49+
__bibtex__: str
50+
__version__: str
51+
__version_info__: _VersionInfo
5452

5553
def set_loglevel(level: str) -> None: ...
5654

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.