"""Handle yanico configuration."""

import os.path


CONFIG_FILENAME = '.yanico.conf'


def user_path():
    return os.path.join(os.path.expanduser('~'), CONFIG_FILENAME)

"""Handle yanico configuration."""

import os.path


CONFIG_FILENAME = '.yanico.conf'


def user_path():
    """Return user configuration filepath.

    The filepath depends home directory and CONFIG_FILENAME constants.
    """
    return os.path.join(os.path.expanduser('~'), CONFIG_FILENAME)

Add docstring into user_path function
Add docstring into user_path function

Describe dependnce for constants and environments.

  """Handle yanico configuration."""
  
  import os.path
  
  
  CONFIG_FILENAME = '.yanico.conf'
  
  
  def user_path():
+     """Return user configuration filepath.
+ 
+     The filepath depends home directory and CONFIG_FILENAME constants.
+     """
      return os.path.join(os.path.expanduser('~'), CONFIG_FILENAME)
  
Add docstring into user_path function
## Code Before:
"""Handle yanico configuration."""

import os.path


CONFIG_FILENAME = '.yanico.conf'


def user_path():
    return os.path.join(os.path.expanduser('~'), CONFIG_FILENAME)

## Instruction:
Add docstring into user_path function
## Code After:
"""Handle yanico configuration."""

import os.path


CONFIG_FILENAME = '.yanico.conf'


def user_path():
    """Return user configuration filepath.

    The filepath depends home directory and CONFIG_FILENAME constants.
    """
    return os.path.join(os.path.expanduser('~'), CONFIG_FILENAME)
