Blender 2.8: Preferences for addon

Okay, so bpy.context.user_preferences came to be bpy.context.preferences. But how do I save preferences for an addon? It used to be like this:
bpy.context.user_preferences.addons[__name__].preferences

And now where is that?

bpy.context.preferences.addons[__name__].preferences

3 Likes

Thank you! The question is closed.