Return the current numerical priority value of a setting, or ``None`` if the given ``name`` does not exist. :param name: the setting name :type name: str
(self, name: _SettingsKey)
| 390 | ) |
| 391 | |
| 392 | def getpriority(self, name: _SettingsKey) -> int | None: |
| 393 | """ |
| 394 | Return the current numerical priority value of a setting, or ``None`` if |
| 395 | the given ``name`` does not exist. |
| 396 | |
| 397 | :param name: the setting name |
| 398 | :type name: str |
| 399 | """ |
| 400 | if name not in self: |
| 401 | return None |
| 402 | return self.attributes[name].priority |
| 403 | |
| 404 | def maxpriority(self) -> int: |
| 405 | """ |
no outgoing calls