mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 08:17:13 +03:00
Added mention of deprecated methods
# Conflicts: # PLUGINS.md
This commit is contained in:
parent
6da85dc1e9
commit
903ec3d558
@ -230,11 +230,9 @@ with core EDMC or other plugins.**
|
||||
Use `number_from_string()` from EDMC's `l10n.Locale` object to parse input
|
||||
numbers in a locale-independent way.
|
||||
|
||||
Note that in the following example the function signature defines that it
|
||||
returns `Optional[tk.Frame]` only because we need to allow for `None` if
|
||||
something goes wrong with the creation of the frame (the calling code checks
|
||||
this). You absolutely need to return the `nb.Frame()` instance that you get
|
||||
as in the code below.
|
||||
Note that the old CamelCase versions of `number_from_string` and `string_from_number` do still exist,
|
||||
but are deprecated. They will continue to work, but will throw warnings.
|
||||
|
||||
```python
|
||||
import tkinter as tk
|
||||
from tkinter import ttk
|
||||
|
Loading…
x
Reference in New Issue
Block a user