@@ -42,10 +42,9 @@ def set_environment(self, name, value):
4242 """Set environment ``$ tmux set-environment <name> <value>``.
4343
4444 :param name: the environment variable name. such as 'PATH'.
45- :type option: string
45+ :type option: str
4646 :param value: environment value.
47- :type value: string
48-
47+ :type value: str
4948 """
5049
5150 args = ['set-environment' ]
@@ -65,7 +64,7 @@ def unset_environment(self, name):
6564 """Unset environment variable ``$ tmux set-environment -u <name>``.
6665
6766 :param name: the environment variable name. such as 'PATH'.
68- :type option: string
67+ :type option: str
6968 """
7069
7170 args = ['set-environment' ]
@@ -84,7 +83,7 @@ def remove_environment(self, name):
8483 """Remove environment variable ``$ tmux set-environment -r <name>``.
8584
8685 :param name: the environment variable name. such as 'PATH'.
87- :type option: string
86+ :type option: str
8887 """
8988
9089 args = ['set-environment' ]
@@ -106,7 +105,7 @@ def show_environment(self, name=None):
106105 specific variable if the name is specified.
107106
108107 :param name: the environment variable name. such as 'PATH'.
109- :type option: string
108+ :type option: str
110109 """
111110 tmux_args = ['show-environment' ]
112111 if self ._add_option :
@@ -341,7 +340,7 @@ def get_by_id(self, id):
341340 .. _.get(): http://backbonejs.org/#Collection-get
342341
343342 :param id:
344- :type id: string
343+ :type id: str
345344 :rtype: object
346345
347346 """
@@ -362,12 +361,12 @@ def which(exe=None, default_paths=[
362361 from salt.util - https://www.github.com/saltstack/salt - license apache
363362
364363 :param exe: Application to search PATHs for.
365- :type exe: string
364+ :type exe: str
366365 :param default_path: Application to search PATHs for.
367366 :type default_path: list
368367 :param append_env_path: Append PATHs in environmental variables.
369368 :type append_env_path: bool
370- :rtype: string
369+ :rtype: str
371370
372371 """
373372 def _is_executable_file_or_link (exe ):
@@ -440,7 +439,7 @@ def has_version(version):
440439 """Return True if tmux version installed.
441440
442441 :param version: version, '1.8'
443- :type version: string
442+ :type version: str
444443 :returns: True if version matches
445444 :rtype: bool
446445 """
@@ -451,7 +450,7 @@ def has_gt_version(min_version):
451450 """Return True if tmux version greater than minimum.
452451
453452 :param min_version: version, e.g. '1.8'
454- :type min_version: string
453+ :type min_version: str
455454 :returns: True if version above min_version
456455 :rtype: bool
457456 """
@@ -462,7 +461,7 @@ def has_gte_version(min_version):
462461 """Return True if tmux version greater or equal to minimum.
463462
464463 :param min_version: version, e.g. '1.8'
465- :type min_version: string
464+ :type min_version: str
466465 :returns: True if version above or equal to min_version
467466 :rtype: bool
468467 """
@@ -473,7 +472,7 @@ def has_lte_version(max_version):
473472 """Return True if tmux version less or equal to minimum.
474473
475474 :param max_version: version, e.g. '1.8'
476- :type max_version: string
475+ :type max_version: str
477476 :returns: True if version below or equal to max_version
478477 :rtype: bool
479478 """
@@ -484,7 +483,7 @@ def has_lt_version(max_version):
484483 """Return True if tmux version less than minimum.
485484
486485 :param max_version: version, e.g. '1.8'
487- :type max_version: string
486+ :type max_version: str
488487 :returns: True if version below max_version
489488 :rtype: bool
490489 """
@@ -527,7 +526,7 @@ def session_check_name(session_name):
527526 These delimiters are reserved for noting session, window and pane.
528527
529528 :param session_name: name of session
530- :type session_name: string
529+ :type session_name: str
531530 :returns: void
532531 :raises: :exc:`exc.BadSessionName`
533532 """
0 commit comments