Skip to content

Commit e40296c

Browse files
committed
Update reference to "Config" which doesn't exist
Possibly related to 4e97cd7
1 parent 134a277 commit e40296c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

interpreter/__init__.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@
1212
1313
Configuration
1414
------------
15-
>>> from interpreter import Interpreter, Config
15+
>>> from interpreter import Interpreter, Profile
1616
1717
Use defaults:
1818
1919
>>> interpreter = Interpreter()
2020
2121
Load from custom profile:
2222
23-
>>> config = Config.from_file("~/custom_profile.py")
24-
>>> interpreter = Interpreter(config)
23+
>>> profile = Profile.from_file("~/custom_profile.py")
24+
>>> interpreter = Interpreter(profile)
2525
2626
Save current settings:
2727
28-
>>> interpreter.save_config("~/my_settings.py")
28+
>>> interpreter.save_profile("~/my_settings.py")
2929
"""
3030

3131
# Use lazy imports to avoid loading heavy modules immediately

0 commit comments

Comments
 (0)