File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
@tests/stubtest_allowlists Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -102,12 +102,6 @@ importlib.resources.open_text
102
102
importlib.resources.path
103
103
importlib.resources.read_binary
104
104
importlib.resources.read_text
105
- mailbox.Maildir.add_flag
106
- mailbox.Maildir.get_flags
107
- mailbox.Maildir.get_info
108
- mailbox.Maildir.remove_flag
109
- mailbox.Maildir.set_flags
110
- mailbox.Maildir.set_info
111
105
os.path.splitroot
112
106
# `__replace__` to be special cased in dataclasses
113
107
pstats.FunctionProfile.__replace__
Original file line number Diff line number Diff line change @@ -115,6 +115,14 @@ class Maildir(Mailbox[MaildirMessage]):
115
115
def get_message (self , key : str ) -> MaildirMessage : ...
116
116
def get_bytes (self , key : str ) -> bytes : ...
117
117
def get_file (self , key : str ) -> _ProxyFile [bytes ]: ...
118
+ if sys .version_info >= (3 , 13 ):
119
+ def get_info (self , key : str ) -> str : ...
120
+ def set_info (self , key : str , info : str ) -> None : ...
121
+ def get_flags (self , key : str ) -> str : ...
122
+ def set_flags (self , key : str , flags : str ) -> None : ...
123
+ def add_flag (self , key : str , flag : str ) -> None : ...
124
+ def remove_flag (self , key : str , flag : str ) -> None : ...
125
+
118
126
def iterkeys (self ) -> Iterator [str ]: ...
119
127
def __contains__ (self , key : str ) -> bool : ...
120
128
def __len__ (self ) -> int : ...
You can’t perform that action at this time.
0 commit comments