Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 711 for Sprintf (0.04 seconds)

  1. docs_src/python_types/tutorial008_py310.py

    def process_items(prices: dict[str, float]):
        for item_name, item_price in prices.items():
            print(item_name)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 145 bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonAgainstSchemaTask.java

            } else {
                try (PrintWriter printWriter = new PrintWriter(getReport())) {
                    printWriter.printf("Schema: %s%n", jsonSchemaOnDisk);
                    printWriter.println("----------Validation Errors-----------");
                    errors.values().stream().flatMap(Collection::stream).forEach(printWriter::println);
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 28 11:09:58 GMT 2021
    - 5.4K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/resources/templates/release-notes-index.asciidoc

    [[es-release-notes]]
    = Release notes
    
    [partintro]
    --
    
    This section summarizes the changes in each release.
    
    <% versions.each { print "* <<release-notes-${ it }>>\n" } %>
    --
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 257 bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt

      OkHttpClient
        .Builder()
        .connectionSpecs(listOf(*specs))
        .build()
    
    private fun sendRequest(
      client: OkHttpClient,
      url: String,
    ) {
      System.out.printf("%-40s ", url)
      System.out.flush()
      println(Platform.get())
      val request =
        Request
          .Builder()
          .url(url)
          .build()
      try {
        client.newCall(request).execute().use { response ->
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu May 22 14:39:30 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. docs/de/docs/advanced/advanced-python-types.md

    Zum Beispiel könnten Sie deklarieren, dass etwas ein `str` oder `None` sein könnte:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    `typing` hat außerdem eine Abkürzung, um zu deklarieren, dass etwas `None` sein könnte, mit `Optional`.
    
    Hier ist ein Tipp aus meiner sehr **subjektiven** Perspektive:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  6. docs/ru/docs/advanced/advanced-python-types.md

    Например, вы можете объявить, что значение может быть `str` или `None`:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    В `typing` также есть сокращение, чтобы объявить, что значение может быть `None`, — `Optional`.
    
    Вот совет с моей очень субъективной точки зрения:
    
    - 🚨 Избегайте использования `Optional[SomeType]`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  7. docs/tr/docs/advanced/advanced-python-types.md

    Örneğin, bir şeyin `str` ya da `None` olabileceğini şöyle belirtebilirsiniz:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    `typing`, bir şeyin `None` olabileceğini belirtmek için `Optional` ile bir kısayol da sunar.
    
    Benim oldukça öznel bakış açıma göre küçük bir ipucu:
    
    - 🚨 `Optional[SomeType]` kullanmaktan kaçının
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  8. cmd/main.go

    	app.CommandNotFound = func(ctx *cli.Context, command string) {
    		console.Printf("‘%s’ is not a minio sub-command. See ‘minio --help’.\n", command)
    		closestCommands := findClosestCommands(command)
    		if len(closestCommands) > 0 {
    			console.Println()
    			console.Println("Did you mean one of these?")
    			for _, cmd := range closestCommands {
    				console.Printf("\t‘%s’\n", cmd)
    			}
    		}
    
    		os.Exit(1)
    	}
    
    	return app
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jul 30 22:59:48 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  9. docs/fr/docs/advanced/advanced-python-types.md

    Par exemple, vous pourriez déclarer que quelque chose peut être un `str` ou `None` :
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    `typing` propose également un raccourci pour déclarer que quelque chose peut être `None`, avec `Optional`.
    
    Voici un conseil issu de mon point de vue très subjectif :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  10. docs_src/handling_errors/tutorial006_py310.py

    
    @app.exception_handler(StarletteHTTPException)
    async def custom_http_exception_handler(request, exc):
        print(f"OMG! An HTTP error!: {repr(exc)}")
        return await http_exception_handler(request, exc)
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc):
        print(f"OMG! The client sent invalid data!: {exc}")
        return await request_validation_exception_handler(request, exc)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 928 bytes
    - Click Count (0)
Back to Top