We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
python
Learn more about funding links in repositories.
Report abuse
1 parent 7c56822 commit 1b1e17eCopy full SHA for 1b1e17e
stdlib/pstats.pyi
@@ -43,17 +43,17 @@ else:
43
TIME = "time"
44
45
if sys.version_info >= (3, 9):
46
- from dataclasses import dataclass, field
+ from dataclasses import dataclass
47
48
@dataclass(unsafe_hash=True)
49
class FunctionProfile:
50
ncalls: str
51
tottime: float
52
percall_tottime: float
53
cumtime: float
54
- percall_cumtime: float = field(default=2)
55
- file_name: str = field(default_factory=str)
56
- line_number: int = field(kw_only=True)
+ percall_cumtime: float = ...
+ file_name: str = ...
+ line_number: int = ...
57
58
59
class StatsProfile:
0 commit comments