Files
openide/python/helpers/pockets/__init__.py
Irina.Fediaeva b26a672d9e PY-51209, PY-51545: Update docstring formatting helpers to Python 3.10.
Old helpers are completely broken for reST, Google and NumPy docstring formats.

(cherry picked from commit 9ce7f986164ca7a61710eefab38934837a36f00b)

IJ-CR-16877

GitOrigin-RevId: 34f27150854279ba98afb8bb23711e8a62fa58c0
2021-12-01 10:26:49 +00:00

29 lines
637 B
Python

# -*- coding: utf-8 -*-
# Copyright (c) 2018 the Pockets team, see AUTHORS.
# Licensed under the BSD License, see LICENSE for details.
"""
*Let me check my pockets...*
Functions available in the `pockets.*` submodules are also imported to the base
package for easy access, so::
from pockets import camel, iterpeek, resolve
works just as well as::
from pockets.inspect import resolve
from pockets.iterators import iterpeek
from pockets.string import camel
"""
from __future__ import absolute_import, print_function
import sys
from pockets.inspect import hoist_submodules
hoist_submodules(sys.modules[__name__])