Edit File: user_agent.cpython-36.opt-1.pyc
3 �P\� � @ sN d dl Z d dlZd dlZddd�ZG dd� de�Zdd� Zdd � Zd d� ZdS ) � Nc C s( |dkrg }t | |�j|�j� j� j� S )a� Return an internet-friendly user_agent string. The majority of this code has been wilfully stolen from the equivalent function in Requests. :param name: The intended name of the user-agent, e.g. "python-requests". :param version: The version of the user-agent, e.g. "0.0.1". :param extras: List of two-item tuples that are added to the user-agent string. :returns: Formatted user-agent string :rtype: str N)�UserAgentBuilder�include_extras�include_implementation�include_system�build)�name�version�extras� r � /usr/lib/python3.6/user_agent.py� user_agent s r c @ s<